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


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

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