Navigating through added XML data?
kray at sonsothunder.com
Thu Mar 30 12:38:30 CST 2006
On 3/30/06 12:01 PM, "John Patten" <johnpatten at mac.com> wrote:
> put revXMLNumberOfChildren(cd fld "XMLID","URL_Table",,-1) into
> 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 to get the new node number? Wouldn't it just be (the number
of children + 1) ?
> This seems to work correctly, however i do notice in the XML file the new
> attribute has all the content after it in addition to the nodes that have it
> individually. Not sure why it's doing that?
You mean all the child nodes have the same content? Can you provide an
example of what you're seeing?
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode