[xsl] ID of HTML control must have value of XML tag

Subject: [xsl] ID of HTML control must have value of XML tag
From: "Ilse De Cokere" <ilsedecokere@xxxxxxxxxxx>
Date: Sat, 05 Apr 2003 21:06:08 +0200
In an XSL-template I try to create a HTML weblink (<a href=... id=...>).
The link must have an ID that has the value of an XML-tag.
How can I do that?

<xsl:template match="Person">
<a href="http://www.somewebpage.com"; id="???"><xsl:value-of select="Nr"/></a>
</xsl:template>


So "???" must be replaced by the value of XML-tag "Nr".
But how or what?

Thanks.
Ilse







_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.be


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



Current Thread