Re: easy way to do a hyper link with xsl?

/ Clint Field <Clint@eCorporation.com> was heard to say:
| Is there a simple way to get the value of a node in a link?

Unless I'm mistaken about your intentions, this is really an XSL
question, not a schema question. Perhaps you sent your query to
the wrong list?

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

What you want is probably:

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

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Where it is permissible both to die and
http://nwalsh.com/            | not to die, it is an abuse of valour to
                              | die.--Mencius

Received on Thursday, 5 October 2000 16:30:57 UTC