??
put rootThis is childa test/child/root into tXML
put revcreateXMLtree(tXML,false,true,true) into tID
put revXMLRootNode(tID) into tnode
answer revXMLNodeContents(tID,tnode)
--Outputs 'this is a test'
put rootThis is wrapchilda test/child/wrap/root into tXML
put
revXMLNodeContents(tID,tnode)
--Outputs 'this is a test'
put rootThis is wrapchilda test/child/wrap/root into tXML
put revcreateXMLtree(tXML,false,true,true) into tID
put revXMLRootNode(tID) into tnode
answer revXMLNodeContents(tID,tnode)
--Outputs 'this is '
Personally, I think
answer revXMLNodeContents(tID,tnode)
--Outputs 'this is a test'
put rootThis is wrapchilda test/child/wrap/root into tXML
put revcreateXMLtree(tXML,false,true,true) into tID
put revXMLRootNode(tID) into tnode
answer revXMLNodeContents(tID,tnode)
--Outputs 'this is '
thanks in advance
Martin
,false,true,true) into tID
put revXMLRootNode(tID) into tnode
answer revXMLNodeContents(tID,tnode)
--Outputs 'this is a test'
put rootThis is wrapchilda test/child/wrap/root into tXML
put revcreateXMLtree(tXML,false,true,true) into tID
put revXMLRootNode(tID) into tnode
answer
,Â
A revXMLText of the tree results in the string appearing as (where the
codes are the equivalent to the first, but in hex):
#x93;That#x92;s quite an honor,#x94; her mother said
Is this a bug in the XML routines? revXMLNodeContents returns the curly
quotes, but add a  before each.
Peter