[dom4j-user] XPath - functions not working ?

2003-01-08 Thread Florian Georg
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 . Perh

[dom4j-user] weird behaviour using selectNodes

2003-01-08 Thread Chung-Onn Cheong
Hi, I am trying to read the Type of an element ie. integer type, however, i have 2 results depending whether i declare my xml instance with a using a "noNamespaceSchemaLocation" or a "schemaLocation" attribute. If i declare xml instance with a "noNamespaceSchemaLocation" attribute, i would get