[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

axis question

Subject: axis question
From: DPawson@xxxxxxxxxxx
Date: Tue, 30 Nov 1999 08:28:30 -0000
axis wrapper
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.