Board index » Visual Studio » XML to plain text
|
AshleyMcKown
|
XML to plain text
Visual Studio180
I have a simple xml file that contains, in part, content that is in HTML. I am encompassing that content in <![cdata[]]>tags. This works fine. However, my application needs to output the XML file (from a strongly typed dataset) to plain text. I am doing theText = myDataset.getXML() Which works, but it doesn't "remember" the portions that were in cdata tags, so that content gets parsed, turning every html tag int <b>, etc... Is there a simple way to output that data without parsing it, and forcing certain nodes to use the cdata tag? The getXML function accepts no parameters. Thanks! MCD - |
