|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Accessing the element stack generically
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
|
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








