Re: Navigating through added XML data?

2006-03-30 Thread John Patten
SUSD - Message: 23 Date: Thu, 30 Mar 2006 13:26:33 +1000 From: Sarah Reichelt [EMAIL PROTECTED] Subject: Re: Navigating through added XML data? To: How to use Revolution use-revolution@lists.runrev.com Message-ID: [EMAIL

Re: Navigating through added XML data?

2006-03-30 Thread Ken Ray
On 3/30/06 12:01 PM, John Patten [EMAIL PROTECTED] wrote: put revXMLNumberOfChildren(cd fld XMLID,URL_Table,,-1) into numberOfNodes put (numberOfNodes div 10)into theNewNode add 1 to TheNewNode Just curious, John... why did you need to divide the number of child nodes by 10 and add 1

Re: Navigating through added XML data?

2006-03-30 Thread Mark Wieder
John- Thursday, March 30, 2006, 10:01:27 AM, you wrote: What was messing me up was I was looking at the text of an xml file, and seeing it formatted correctly lead me to believe that the XML was good. When I started dumping out the XML after I added a new attribute and child nodes, I noticed

Re: Navigating through added XML data?

2006-03-30 Thread Ken Ray
On 3/30/06 4:36 PM, Mark Wieder [EMAIL PROTECTED] wrote: John- Thursday, March 30, 2006, 10:01:27 AM, you wrote: What was messing me up was I was looking at the text of an xml file, and seeing it formatted correctly lead me to believe that the XML was good. When I started dumping out the

Navigating through added XML data?

2006-03-29 Thread John Patten
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

Re: Navigating through added XML data?

2006-03-29 Thread Peter T. Evensen
If you have an XML Tree, you can add nodes using revAddXMLNode, put data into the node using revPutIntoXMLNode and then use revXMLText(tXMLTree) to save the text to a file name. Here is a function I created to add data to an arbitrary node in an existing tree (it creates all the nodes, if

Re: Navigating through added XML data?

2006-03-29 Thread Sarah Reichelt
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