Fw: [xsl] a href incorporation

Subject: Fw: [xsl] a href incorporation
From: "Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Apr 2001 09:57:21 +0100
I have the following xml:
<Grasslands>
<LinksForGenus>
<Link>
<Address href="http://www.bbc.co.uk";>BBC</Address> 
<Name>This is the home page for the BBC </Name>
</Link>
</LinksForGenus>
</Grasslands>
 
I want the following output: (bullet-pointed)
 
* BBC (as a hyperlink); This is the home page for the BBC
 
My xsl:
<xsl:template match="Grasslands/LinksForGenus" priority= "1">
<h3>
<a name="Label0045"></a>
<font color="#00007F"><i>Links for the genus:</i></font>
</h3>
<ul>
<xsl:for-each select="Link">
<li><font color="#008000">
<xsl:value-of select="Address" />;&#xA;<xsl:text />
<xsl:value-of select="Name" />
</font></li>
</xsl:for-each>
</ul>
</xsl:template>


<xsl:template match="Grasslands/LinksForGenus">
</xsl:template>

The problem is incorporating the "a href".

Thanks.

Tanz

 

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


Current Thread