This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: use <xsl:value-of> within an attribute value
- To: "'Mike Brown'" <mike at skew dot org>, xsl-list at mulberrytech dot com
- Subject: RE: use <xsl:value-of> within an attribute value
- From: "Xu, Xiaocun" <XXu at CommercialWare dot com>
- Date: Fri, 10 Nov 2000 16:49:32 -0500
- Reply-To: xsl-list at mulberrytech dot com
That's what I was missing!! It works now :)
Much thanks :)
Xiaocun Xu
xxu@commercialware.com
> -----Original Message-----
> From: Mike Brown [mailto:mike@skew.org]
> Sent: Friday, November 10, 2000 4:33 PM
> To: xsl-list@mulberrytech.com
> Cc: XXu@CommercialWare.com
> Subject: 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