axis question

Subject: axis question
From: DPawson@xxxxxxxxxxx
Date: Tue, 30 Nov 1999 08:28:30 -0000
When I use the following axis, I get elements from the
parent axis all the way up to the root of the source document.

Is it possible to restrict this set to a named node in the ancestor axis?

Say I have an element in the  ancestor axis <wrapper>,
Is it possible to identify a node set which is from the following
axis, height restricted up to <wrapper> ?

Graphically ( I like Ken Holmans diagrams of the axis), it
would include all element to the East, and as far North as <wrapper>
but exclude all elements, the path to which includes traversing 
the ancestor axis of <wrapper>?

the use case is to restrict

 <xsl:for-each select="qna/topic[not(.=following::qna/topic)]">

to only those elements within a single <section> ancestor of
the context node of the above for-each. qna has parent <section>.



I have a nasty suspicion I'm re-treading a thread on this list between
James C and a couple of others, with a title something like intersection.





Regards, DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread