|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Catch ALL | Failed template rule
> I guess I was looking for the > cleanest way to exercise this. I guess it would be this: > <xsl:apply-template select="not(foo/bar[@a='b'])" > mode="unmatchedresults"/> No, the result of the selection has to be a set of nodes, it can't be a boolean. The idea in your head of invoking a template rule if something isn't there is not a ridiculous one, but it's something that the language doesn't support, and couldn't be made to support without introducing some new fundamental concepts. So the best one can say is: it ain't going to happen; find another route to your destination. Michael Kay http://www.saxonica.com/
|
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
|

Cart








