|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Finding the closest node (was Re: inconsistent Pre
At 2002-11-05 00:07 +0000, Peter Flynn wrote:
What if I want to get the closest of some possible (specific) subset of ancestors? eg (this is Docbook, let us say the current node is an <xref> in a <para> at some depth within one of the following): Use "( union|of|ancestors|goes|here )[last()]" because a predicate can be added to the bracketed specification of a set of nodes. What I've proposed obtains the last in document order, which would be the closest ancestor. I hope this helps, Peter. ......... Ken
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








