Re: [xsl] How to embed a hyperlink with a xsl:value inside the <a <xsl:value../> tag

Subject: Re: [xsl] How to embed a hyperlink with a xsl:value inside the <a <xsl:value../> tag
From: Sam Carleton <sam@xxxxxxxxxxxxxx>
Date: Mon, 6 Jan 2003 09:09:40 -0500
Another way to do this is with the attribute element:

<TABLE >
  <xsl:for-each select="//aaa/row">
  <TR>
     <TD>
       <xsl:value-of select="name"/><br/>
       <xsl:value-of select="city"/>
		Email address:
		<a> 	
			<xsl:attribute name="href">
				mailto:<xsl:value-of select="email"/>"
			</xsl:attribute>
			<xsl:value-of select="email"/>
		</a><br/>
     </TD>
  </TR>
  </xsl:for-each>
</TABLE>

It is a bit longer and I don't really know the advantages to
it, but there it is:)

Sam

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


Current Thread