Question about TfsXMLDocument!

edited 12:22PM in FastScript
JScript:
var myXML = TfsXMLDocument.Create;
myXML.loadFromFile("c:\\info.xml");
showMessage(myXML.Root.items[0].text);


My Question is why if the info.xml content is
<?xml version="1.0" encoding="GB2312"?>
<info>
<name jcc/>
<age 23/>
</info>
it works well.

But if the info.xml content is
<?xml version="1.0" encoding="GB2312"?>
<info>
<name>jcc</name>
<age>23</age>
</info>
then myXML.Root.items[0].text = Null

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.