|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: CATCH ALL | template rule (2nd try)
> <xsl:apply-templates
>
select="fx:node-set($interval)//fn:interval[//field[@fieldname='EntityID']=$F
TEInterval_Members][//field[@fieldname='EntityID']=$FTEInterval_JTED_Mains]"
> mode="Exceptions" />
>
> What is the inverse of this? Which would suffice to be my "CATCH
> ALL", in otherwords match everything else where the above combination
> fails.
fx:node-set($interval)//node()[not(count(. | yourExpression) =
count(yourExpression))]
generally, if there are two node-sets: $ns1 and $ns2, their set difference
$ns2 - $ns1
is expressed by this XPath expression:
$ns2[not(count(. | $ns1) = count($ns1) ) ]
Cheers,
Dimitre
|
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








