|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] axis question
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
|
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








