Re: use <xsl:value-of> within an attribute value

Subject: Re: use <xsl:value-of> within an attribute value
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 10 Nov 2000 14:32:55 -0700 (MST)
Xu, Xiaocun wrote:
> The generated HTML replaces {$filepath} with an empty string
> 
> <xsl:variable name="filepath" select=".."/>

You mean

<xsl:variable name="filepath" select="'..'"/>

because

.. = abbreviated step in an XPath expression meaning parent::node()

while

'..' = XPath expression meaning the string containing 2 periods

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread