Hi, I try to select Nodes from a document with this statement:
document.selectNodes ("/user-list/user/@id[(number(text()) <= 1000) and (number(text()) >= 0)]"); and although this xpath-expression seems to work for the containing XML (tested with XPath Explorer), the method always returns <null>. Perhaps dom4J doesn't like those number(..) and text() - functions ? Simple expressions like "/user-list/user/@id" just work fine. I haven't found notes about limitations concerning those xpath-functions in the docs ... Any help would be greatly appreciated thanks -Florian
smime.p7s
Description: application/pkcs7-signature