Navigating through added XML data?

John Patten johnpatten at mac.com
Wed Mar 29 18:59:31 EST 2006


Hello All...

I'm trying to learn to use XML to store stack data. I've managed to load an existing XML document into the stack, navigate through XML data using revXMLMatchingNode and revXMLChildContents and placing contents in specific flds, and creating additonal data using revSetXMLAttribute and revAddXMLNode.

So far so good. However, ultimatley I want to be able to continue navigating through the XML data including any new data that has been entered.

I can see that the additional data has been added by using revXMLChildContents, however I don't know how to save the results of revXMLChildContents back into the stack as a XML file, and thus enabling navigation through the appended XML file. 

I had been trying to do it using  revCreateXMLTree but it errors because revXMLChildContents does not return a proper XML format.

Any suggestions?

Thank you!

John Patten
SUSD



More information about the use-livecode mailing list