[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
parent path
Subject: parent path From: "Mattias Konradsson" <preacher@xxxxxxxxxxx> Date: Thu, 4 Feb 1999 15:00:03 +0100 |
Uhh, I'm trying to do some recursive hierarchial menus and it's turning my brain inside out :P Aaaanyway What i need to do is to access each submenu that has a submenu as parent and create an parent attribute set to the id of the parent, I'd like to do something like this: <xsl:template match="submenu"> <submenu> <xsl:attribute name="id"> <xsl:eval>menuId();</xsl:eval> </xsl:attribute> <xsl:attribute name="parent"> <xsl:value-of select="submenu/." /> </xsl:attribute> <xsl:apply-templates /> </submenu> except submenu/. doesnt work of course for accessing the parent submenu, any help would be really appreciated :) -------- Mattias Konradsson Icon medialab XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XML to PDF problems..........., James Tauber | Thread | Interesting E-Mail I received today, john . markor |
RE: Question, Vun Kannon, David | Date | Re: Venting, Paul Prescod |
Month |