[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Setting the value of the HREF attribute


Subject: RE: Setting the value of the HREF attribute
From: "Sargeant, Richard (GEIS)" <Richard.Sargeant@xxxxxxxxxxx>
Date: Mon, 8 Feb 1999 13:51:25 +0100

Hi Nigel

   Try using the following... 

 <xsl:template match="participants">
   <xsl:for-each select="participant">
      <xsl:element name="a">
         <xsl:attribute name="href"><xsl:value-of
select="@link"/></xsl:attribute>
      </xsl:element>
      <xsl:value-of/>
      <a/>
   </xsl:for-each>
 </xsl:template>

   For an example of a style sheet using this see my FAQs example at
http://home-3.worldonline.nl/~sargeant/xml.htm

regards
   Richard


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



Current Thread