cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: XPath in flowscript ?
Date Fri, 21 Jan 2005 09:10:18 GMT
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/

Mime
View raw message