|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
add xml version line before xml file root nodeI try to add xml version line(<?xml version="1.0" encoding="utf-8"?>) before xml file AutoData root node in the following file <AutoData > <Table1> <Data1> 10 </Data1> <Data2> 20 </Data2> <Data3> 40 </Data3> <Table1> </AutoData> So finally the file is like this: (<?xml version="1.0" encoding="utf-8"?>) <AutoData > <Table1> <Data1> 10 </Data1> <Data2> 20 </Data2> <Data3> 40 </Data3> <Table1> </AutoData> Anyone knows how to add it? Thanks Martin martin1 wrote:
> I try to add xml version line(<?xml version="1.0" encoding="utf-8"?>) before When you serialize/save the XML document use the proper > xml file AutoData root node in the following file XmlWriterSettings with .NET 2.0. Thank you so much. Martin
Show quoteHide quote "Martin Honnen" wrote: > martin1 wrote: > > > I try to add xml version line(<?xml version="1.0" encoding="utf-8"?>) before > > xml file AutoData root node in the following file > > When you serialize/save the XML document use the proper > XmlWriterSettings with .NET 2.0. > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ >
update database through SQL script
Iterating through a Hastable of objects Passing values to another web page Re-size label text Debugging UserControl remove xml file root tag how to capture enter key without affrecting copy paste kcust keys max length for tooltip add xml validation schema in the xml file remove xml file namespace attribute |
|||||||||||||||||||||||