Try <@ASSIGN NAME="IDlist" VALUE="<@ELEMENTATTRIBUTES OBJECT='local$xplist' ELEMENT='root().descendant(all,LIST,ID,*)'>" SCOPE="local">
Ben Johansen - http://www.pcforge.com -Authorized WiTango Reseller http://www.pcforge.com/WitangoGoodies.htm -Authorized Alt-N Reseller http://www.pcforge.com/AltN.htm -----Original Message----- From: Alan Wolfe [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 9:49 PM To: [EMAIL PROTECTED] Subject: Witango-Talk: DOM and XPointer if i had a dom variable and i wanted to get all the id's would this be the proper syntax? <@assign local$IDlist value="<@ELEMENTATTRIBUTE OBJECT='local$xplist' ATTRIBUTE='ID' ELEMENT='root().descendant(all)'>"> its working except it isnt giving me rows from the root's children, only from the root's grandchildren and below. Is that how its supposed to work? PS maybe is there a better way to get the maximum ID number from a DOM variable then getting all the IDs and sorting the array? Thanks! Alan ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
