[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] variables


Subject: [xsl] variables
From: "Bokluci" <bokluci@xxxxxxxxxxxxxx>
Date: Tue, 28 Feb 2006 18:53:06 +0100

Hi,

Is it possible to make this two lines into one. (somehow to match @label
against current node @uri without creating new variable $current_section)

<xsl:variable name="current_section"><xsl:value-of
select="@uri"/></xsl:variable>

<xsl:for-each
select="document($menue_doc)//*[@label=$current_section]/descendant::section
">


Current Thread