xsl-list
[Top] [All Lists]

RE: Select statement within HREF

2003-10-31 09:34:04
[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='{(_at_)name}/file.xml'> ....</a>

Cheers,

Tom P 

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



<Prev in Thread] Current Thread [Next in Thread>