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 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? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
