|
Subject: Re: [xsl] Full path to a node From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Mon, 10 Feb 2003 09:36:56 +0200 |
Is it possible to print out the full path of a node with XSL?Sure.
When I view the "Register A Project" page in the web application I want to print out:
Home :: Manage :: Project :: Register
at the top of the page.
<xsl:for-each select="ancestor-or-self::*/@label">
<xsl:value-of select="."/>
<xsl:if test="position() != last()">
<xsl:text> :: </xsl:text>
</xsl:if>
</xsl:for-each>-- Oleg Tkachenko Multiconn Technologies, Israel
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Full path to a node, Ronny Haryanto | Thread | [xsl] xsl:sort / xalan-c++ sorting , Frank-Ralph Reiser |
| Re: [xsl] preceding-sibling inside , Francis Norton | Date | Re: [xsl] XSLT Sort and choose last, Jeni Tennison |
| Month |