Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] XML design of ((a and b) or c)


  • From: "Michael Kay" <mike@...>
  • To: "'Michael Kay'" <mike@...>,"'Rick Marshall'" <rjm@...>,"'Ken North'" <kennorth@...>
  • Date: Fri, 15 Dec 2006 11:58:09 -0000

> In fact, you can't even safely write 
> 
> //x[y castable as xs:integer][xs:integer(y) > 100]

But if you don't like the wordiness of the if-then-else, another option is:

//x[xs:integer(y[. castable as xs:integer]) > 100]

Michael Kay
http://www.saxonica.com/




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor