One way is
<xsl:attribute name="href">
<xsl:value-of select="@name"/>
</xsl:attribute>
PA Sport RnD
Andrew Curry
Software Developer
Telephone: 01430 455545
Website: http://www.pa.press.net
PA News Limited:
Bridgegate, Howden, East Yorkshire, DN14 7AE
Registered Office:
PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered in
England No. 3891053
----- Original Message -----
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, October 31, 2003 11:13 AM
Subject: Select statement within HREF
> 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>
>
> Any help will be appreciated.
>
> Regards,
>
> /s
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|