Re: multiple xpaths

2005-10-05 Thread Upayavira
David wrote: Upayavira wrote: David wrote: Sylvain Wallez wrote: David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get

Re: multiple xpaths

2005-10-04 Thread David
Upayavira wrote: David wrote: Sylvain Wallez wrote: David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get the nodelist

Re: multiple xpaths

2005-10-04 Thread Daniel Fagerstrom
David wrote: Upayavira wrote: David wrote: Sylvain Wallez wrote: David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get

Re: multiple xpaths

2005-10-04 Thread David
: Upayavira wrote: David wrote: Sylvain Wallez wrote: David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get the nodelist

multiple xpaths

2005-10-03 Thread David
I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get the nodelist of each. What is the best way to do this? Thanks, David PS. Sorry

Re: multiple xpaths

2005-10-03 Thread Sylvain Wallez
David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get the nodelist of each. What is the best way to do this? The problem

Re: multiple xpaths

2005-10-03 Thread David
Sylvain Wallez wrote: David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get the nodelist of each. What is the best way to do

Re: multiple xpaths

2005-10-03 Thread Upayavira
David wrote: Sylvain Wallez wrote: David wrote: I am writing a cocoon transformer and need to know when any of multiple xpaths match. I'm sure there must be a be a more efficient way then converting it to a DOM document and then running each xpath to get the nodelist of each. What