formating xml

  • Thread starter Thread starter David
  • Start date Start date
D

David

hello

i've string, retrived from XmlDocument.InnerXml property...
can it be formated, like in XmlTextWriter stream (with Indentation)

....it was putted formated into XmlDocument.InnerXml property

thanx
 
David said:
i've string, retrived from XmlDocument.InnerXml property...
can it be formated, like in XmlTextWriter stream (with Indentation)

Don't use xmlDocument.InnerXml then, instead use
xmlDocument.WriteContentTo(xmlTextWriterOverAStringWriterHere)
 
Back
Top