[xsl] Tokenize comma separated string in XSL

Subject: [xsl] Tokenize comma separated string in XSL
From: <Lalit.Chanchlani@xxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Mar 2007 16:08:03 +0530
Hi All,
I have a comma-separated string like ABC,DEF,GHI which I want to
tokenize and return to a template which retrieves separately its
corresponding code from a XML input.

The output should be:

   <Code value = "A">
  <Code value = "D">
  <Code value = "G">

I need to get the <Description> value from a comma-separated string
given above.

Please suggest.

Thanks and Regards,

This message contains privileged and confidential information and is intended
only for an individual named. If you are not the intended recipient, you
should not disseminate, distribute, store, print, copy or deliver this
message. Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or
contain viruses. The sender, therefore,  does not accept liability for any
errors or omissions in the contents of this message which arise as a result of
e-mail transmission. If verification is required, please request a hard-copy

Current Thread