W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

easy way to do a hyper link with xsl?

From: Clint Field <Clint@eCorporation.com>
Date: Thu, 5 Oct 2000 15:26:52 -0400
Message-ID: <1BC34D59866FD4119DF2009027B0A590101DF4@CERABUS>
To: www-xml-schema-comments@w3.org, xmlschema-dev@w3.org
Hello,

Is there a simple way to get the value of a node in a link?

For example:

<b>Category: </b>
   <a href="Products.ASP?Code=">
	<xsl:value-of select="ecgcode_description"/>
   </a>

I want the node giving the code description to appear in the link as well,
so it appears like this:

<a href="Products.ASP?Code=Widgets>Widgets</a>

But this sample wont give me that:

<a href="Products.ASP?Code="<xsl:value-of select="ecgcode_description"/>"
<a href="Products.ASP?Code=">
</a>


How can this be done?  Should I set a variable and place it in {CODE}?

Any thoughts would be appreciated.

Thanks,
Clint
Received on Thursday, 5 October 2000 15:16:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:48 GMT