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

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"/>

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=">

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

Any thoughts would be appreciated.

Received on Thursday, 5 October 2000 15:16:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:49 UTC