RE: [xsl] Select statement within HREF

Subject: RE: [xsl] Select statement within HREF
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 31 Oct 2003 11:34:04 -0500
[SHEIKH Sajjad]Hi
> 
> I want to use a select statement within anchor hyper ref[=a href].  
> 
> Example:
> <a href="(<xsl:value-of	
> select="@name/>)/(file.xml)">"><xsl:value-of
> select="@name"/></a>
> 
> So the final result will be as following
> 
> For example <xsl:value-of	select="@name"/> returns	AFC
> It will show <a href="AFC/file.xml">AFC</a>
> 
 That is what attribute value templates are for -

<a href='{@name}/file.xml'> ....</a>

Cheers,

Tom P 

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


Current Thread