Hello,
I have the following problem:
I'm trying to get all nodes from a xml-file with the xpath
//*[contains(translate(text(),'AND', 'and'), 'and')]
and the java code
XPath selector =
DocumentHelper.createXPath("//*[contains(translate(text(),'AND', 'and'),
'and')]");
List elList = selector.selectNodes(xmlDoc);
If I execute the code I get the following error message:
org.dom4j.XPathException:
Exception occurred evaluting XPath: //*[contains(translate(text(),'AND',
'and'), 'and')].
Exception: Function :translate
Why this error? I've tried tis XPath-Expression with the zvon.org
interactive x-lab...no problems.
Or is there a way to get Nodes or Elements wirt thei value
(element.getText) with case-insensitive?
Best regards
Thorsten Kamann
--
planetes.de - Das Online-Magazin f�r Astronomie
http://www.planetes.de
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user