revXMLNodeContents
Martin BLACKMAN
martinblackman at gmail.com
Fri Aug 19 20:37:39 EDT 2005
Could anyone comment on whether the behaviour of the first example
below is correct ? I would have thought that both outputs should be
the same ??
put "<root>This is <child>a 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 "<root>This is <wrap><child>a 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 Blackman
More information about the use-livecode
mailing list