This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]