cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <ajuf...@sun3.oulu.fi>
Subject Re: How to get a NodeList via a XPath like String?
Date Tue, 02 Oct 2001 18:32:41 GMT


Jan wrote:

> Is there a way to get a NodeList containing all nodes of a specified 
> Document that match (XPath) to an expression string like
> 
> "/mux/content//sidebox" or "/mux/content[@lang = 'us-en']//sidebox[1]" etc.?

You may want to have a look at the org.apache.xpath package that is 
included with Xalan. Check out the XpathAPI class. Xalan is also 
included with cocoon2.

> 
>  
> 
> Thanks,
> 
> Jan.


-- 
Andre H. Juffer              | Phone: +358-8-553 1683
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
University of Oulu, Finland  | WWW: http://www.biochem.oulu.fi/Biocomputing/


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message