How to add an unique valued attribute to every tag in the xml using XSL

Posted by Rachel on Stack Overflow See other posts from Stack Overflow or by Rachel
Published on 2010-04-14T19:59:41Z Indexed on 2010/04/14 20:03 UTC
Read the original article Hit count: 248

Filed under:
|
|

I want to add a unique attribute say "ind" to every tag in the xml. How do i do it using xsl. It need'nt be a sequence number. As long it is unique for every tag it is sufficient. Input:Some textSome other textSome other text Expected output: Some textSome other textSome other text

© Stack Overflow or respective owner

Related posts about xslt

Related posts about xsl