cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto" <rma...@montefiore.ch>
Subject Re: XPath in flowscript ?
Date Tue, 25 Jan 2005 13:04:41 GMT
Can you make me a little example of how do you use JXPath in a Flowscript to
retrive part of an xml file pls.?

Thanx in advance
Roberto

----- Original Message ----- 
From: "Ugo Cei" <ugo@apache.org>
To: <users@cocoon.apache.org>
Sent: Friday, January 21, 2005 10:10 AM
Subject: Re: XPath in flowscript ?


> Il giorno 21/gen/05, alle 08:41, Marc Salvetti ha scritto:
>
> > i was just wondering if there is some technique to use xpath from
> > flowscript to retrieve a part of a dom ?
> > something like
> >
> > doc = someObject.xpath("path/to/somewhere", mainDoc);
> >
> > it would be quite handy instead of using the dom api :)
>
> You can use any one of the various XPath libraries that are out there.
> Personally, I use JXPath and it works fine for my needs.
>
> Ugo
>
> -- 
> Ugo Cei - http://beblogging.com/blojsom/blog/
>


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


Mime
View raw message