Subject: Re: [xsl] Need an XPath expression for: $B is not contained in $A From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 14 Jun 2018 21:39:47 -0000 |
> "empty($A intersect $B//*)" > > XPath 1.0: > > "count($B/**) = count($B//* | $A)" > > Cheers, Wendell > Getting all the ancestors of $A is likely to be a lot faster than getting all the descendants of $B, simply because a node typically has many descendants but few ancestors. Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Need an XPath expression , Wendell Piez wapiez@ | Thread | Re: [xsl] Need an XPath expression , Eliot Kimber ekimber |
Re: [xsl] Need an XPath expression , Dimitre Novatchev dn | Date | Re: [xsl] Need an XPath expression , Wendell Piez wapiez@ |
Month |