Saving and loading xml to/from file using TfsXMLDocument class does not preserve xml formatting or v
Hi,
I am trying to load in an xml file containing the following:
<?xml version="1.0"?>
<Minimum>test</Minimum>
When I save it back to file this is what I get:
<?xml version="1.0"?>
<Minimum/>
Is there a problem with the component or am I doing something wrong. My JScript is below:
var myXML = TfsXMLDocument.Create;
myXML.loadFromFile("h:\\test2.xml");
myXML.savetofile("h:\\test3.xml");
Thanks,
Paul
I am trying to load in an xml file containing the following:
<?xml version="1.0"?>
<Minimum>test</Minimum>
When I save it back to file this is what I get:
<?xml version="1.0"?>
<Minimum/>
Is there a problem with the component or am I doing something wrong. My JScript is below:
var myXML = TfsXMLDocument.Create;
myXML.loadFromFile("h:\\test2.xml");
myXML.savetofile("h:\\test3.xml");
Thanks,
Paul