[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

generate an id

Subject: generate an id
From: "Ali Choumane" <xml_tech@xxxxxxxxxxx>
Date: Mon, 11 Jul 2005 15:12:21 +0200
xsl generate numerical id
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.