Hi all, Am I correct in supposing [1] that the following (spectacular) query will return nothing? declare variable $Products := <Products> <Product><ProductID>2</ProductID><Title>foo</Title></Product> <Product><ProductID>1</ProductID><Title>bar</Title></Product> </Products>; $Products/Product[data(ProductID) cast as xs:integer]/Title I'll say no more... :-) Later Charlie [1] http://www.w3.org/TR/xquery/#id-predicates -- Charles Brooking Associate Software Engineer Canon Information Systems Research AustraliaReceived on Friday, 25 November 2005 01:07:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:20 GMT