[Home] [By Thread] [By Date] [Recent Entries]


K. Ari Krupnikov wrote:

> Expression.getMatchingNodes().item(0).toString is not the same as
> Expression.getStringValue(), the latter, in XPath, gives you a
> concatenation of all descendant text nodes.
> 
> getBooleanValue() would follow XPath hopefully 1.0) rules of casting
> things to booleans, not Java. Same for numbers.
> 
> [...]
> 
> XPath recovers silently from cast errors.

All true and not things I'd considered. I'll need to go away and 
think on it.

Bill de hÓra


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member