|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Setting the value of the HREF attribute
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








