This depends on what search do you want. If you want to search "hello" string within music node then you should use //music[contains(string(),'hello')]
or if you want to search "hello" within the the document as under : <music> <title>hello</title> </music> then you may use //music/title[contains(string(),'hello')] Avik ----- Original Message ----- From: Upayavira <[EMAIL PROTECTED]> Date: Tuesday, December 9, 2003 2:28 pm Subject: What XPATH is available > I am trying the following XPath: > > //music[contains(title, 'hello')] > > which gives me an error: > java.lang.NoSuchMethodError: > org.apache.xpath.compiler.OpMap.getOpMap()[I > This suggests that this XPath expression is not supported by > XIndice. > Can someone tell me what XPath I do have access to? Is it just the > //music[title = 'hello'] kind? If so, this is rather limited/limiting. > > Thanks, > > Upayavira
