This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: use <xsl:value-of> within an attribute value
- To: xsl-list at mulberrytech dot com
- Subject: Re: use <xsl:value-of> within an attribute value
- From: Mike Brown <mike at skew dot org>
- Date: Fri, 10 Nov 2000 14:32:55 -0700 (MST)
- CC: XXu at CommercialWare dot com
- Reply-To: xsl-list at mulberrytech dot com
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