W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2000

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

From: Norman Walsh <ndw@nwalsh.com>
Date: 05 Oct 2000 16:29:02 -0400
To: xmlschema-dev@w3.org
Message-ID: <87zokjf2wh.fsf@nwalsh.com>
/ 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:47 UTC