cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Geissel" <ageis...@zenark.com>
Subject Re: How to get a NodeList via a XPath like String?
Date Wed, 03 Oct 2001 08:00:33 GMT
Jan,
Are you looking for something like

"/mux/content[@lang='us-en' or not(@lang)]//sidebox[1]"

Adrian

  ----- Original Message ----- 
  From: Jan 
  To: cocoon-users@xml.apache.org 
  Sent: Tuesday, October 02, 2001 7:13 PM
  Subject: How to get a NodeList via a XPath like String?


  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.?
   
  Thanks,
  Jan.

Mime
View raw message