[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: question about generate-id()
Hi,
There are many uses for generate-id() apart from generating an id for an @id or @xml:id.On Thu, 5 Aug 2010 10:11:06 +0100 (IST) "Tony Graham"<Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx> wrote: It generates node-based string uniqueness in a transformation which can be used in different ways, including combined with prefix and or suffix Adding a generate-xml-id-from-source() may be a useful addition although it seems quite specific Why not just use concat() or string-join(), along with generate-id() to do any and all of those and more things? Am I missing something here? Cheers, ac You could do it yourself16.6.4 There is no guarantee that a generated unique identifier will be distinct from any unique IDs specified in the source document.
|
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
|