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

[xsl] generate an id


Subject: [xsl] generate an id
From: "Ali Choumane" <xml_tech@xxxxxxxxxxx>
Date: Mon, 11 Jul 2005 15:12:21 +0200

Hi,

I am using the XPath function "generate-id()", obviously to give an xml id to some node in the target document as folowing:
....
<sentence>
<xsl:attribute name="stamp">
<xsl:value-of select="generate-id()"/>
</xsl:attribute>
....
</sentence>
....


But in the result, all the attribut "stamp" generated have the same value !!!
Can you help me?


Tx

Ali,

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



Current Thread
Keywords