You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by rufio <ru...@op.pl> on 2004/01/13 13:43:02 UTC

multiple xpaths in XPathDirecory

Hi
I'm trying to get 2 informations from xml files with XPathDirectory generator:
/page/@name and /page/@category but I found that I can't use xpath parameter
more than once (thanx avalon).
I also found that the xpath parameter can be of form "xpath1|xpath2" but the
result is unsplitable namecategory.
So now I have 2 opts: modify XPathDirectoryGenerator to take multiple xpaths
with',' as delimiter or use it twice - for name and for category and aggregate
the outputs.

Can anyone suggest easiest way to do that?

Regards, Rufio
-- 
010 > nmap -O www.microsoft.com
001 > [..]
111 > Running: Linux 2.5.X

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org