I still wonder if roXML can parse successfully XML that contains mixture of text and elements. (By "successfully" i mean parse returning result where parts of the document are not lost.) It was asked here
viewtopic.php?f=34&t=66675#p427862 , i provided textbook examples and even a picture but that was not answered.
Maybe that was TL;DNR. Trying again with the simplest example i can muster - namely "
<xml> text <node/> </xml>":
BrightScript Debugger> x = createObject("roXmlElement")
BrightScript Debugger> x.parse("<xml>text<node/></xml>")
BrightScript Debugger> ? x
<Component: roXMLElement>
BrightScript Debugger> ? x.getText()
BrightScript Debugger> ? x.genXml(false)
<xml><node /></xml>
BrightScript Debugger> ? x.getBody().count()
1
BrightScript Debugger> ? x.getBody()[0].genXml(false)
<node />
Where is my "text", how can i reach it?