[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [proposal] XPath API for Java
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|