Subject: Re: Accessing the element stack generically
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Fri, 15 Oct 1999 10:45:22 -0700
|
These should be exactly the elements on the
ancestor-or-self axis so a select="ancesor-or-self::*"
should return the node list of elements
including yourself in the "stack" (in reverse document order)
________________________________________________________
Steve Muench, BC4J Development Team & XML Evangelist
http://technet.oracle.com/tech/java
http://technet.oracle.com/tech/xml
----- Original Message -----
From: Clark C. Evans <clark.evans@xxxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Friday, October 15, 1999 9:30 AM
Subject: Accessing the element stack generically
|
| Hello. I have an xml document:
|
| <a><b><c/></b><c/></a>
|
| I'd like to, when match="c" is invoked, print
| the current element stack. Any generic way to do this?
|
| /a/b/c and /a/c are what I'm after...
|
| Harder version:
|
| <a><b x="y"><c/></b><b x="z"><c/></b></a>
|
| Print the element stack including parameters to get:
|
| /a/b[@x='y']/c and /a/b[@x='z']/c
|
| Thanks for any suggestions.
|
| clark
|
|
| XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|