Subject: RE: [xsl] testing relationships between nodes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 14 Sep 2006 17:32:40 +0100 |
In 2.0 test="$A/ancestor::node() intersect $B" In 1.0 test="count($A/ancestor::node() | $B) = count($A/ancestor::node())" Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Wolfgang Jeltsch [mailto:wolfgang@xxxxxxxxxxx] > Sent: 14 September 2006 17:16 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] testing relationships between nodes > > Hello, > > alas, I cannot see any way to check whether a given node is > an ancestor of a given other node in XPath. How do I do this? > > Best wishes, > Wolfgang
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] testing relationships bet, Mukul Gandhi | Thread | Re: [xsl] testing relationships bet, Wolfgang Jeltsch |
RE: [xsl] testing relationships bet, Michael Kay | Date | [xsl] Grouping the node based on th, Senthilkumaravelan K |
Month |