xsl-list
[Top] [All Lists]

AW: expression must evaluate to a nodeset / shortcuts !

2002-11-05 03:48:31
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



<Prev in Thread] Current Thread [Next in Thread>