It's kinda hard to help with xpointer when you don't have a sample of
the XML ;-)

Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller 
Available for Witango Developement


-----Original Message-----
From: Alan Wolfe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2003 10:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: DOM and XPointer

nope that didnt work but i found a workaround though because child(all)
returns the children and since i have everything else from descendant im
just putting the 2 arrays together with a union.

That'll work good enough i guess :P

----- Original Message -----
From: "Ben Johansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 10:06 PM
Subject: RE: Witango-Talk: DOM and XPointer


> 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

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to