Subject: AW: expression must evaluate to a nodeset / shortcuts !
From: "Braumüller, Hans" <H.Braumueller@xxxxxxxxxxxx>
Date: Tue, 5 Nov 2002 11:48:31 +0100
|
Hi Mike,
thank you, but you mistyped, it is
<xsl:value-of select="$path[.='gspkennung']/../@title"/>
Hans Braumüller
>
> but not if i declare a variable:
>
> <xsl:variable name="path" select=" '/root/body/filter/df/@name' "/>
>
> then use
>
> <xsl:value-of select="$path='gspkennung'/@title"/>
>
> Is there a workaround for this?
<xsl:variable name="path" select="/root/body/filter/df/@name"/>
<xsl:value-of select="$path[.='gspkennung'/../@title]"/>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|