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

Re: [xsl] how to split word into sequence of letters


Subject: Re: [xsl] how to split word into sequence of letters
From: Hermann Stamm-Wilbrandt <STAMMW@xxxxxxxxxx>
Date: Mon, 20 Aug 2012 11:20:45 +0200

Hi,

all the other solutions provided sofar in this thread are XSLT 2.0, which
is fine.

Just wanted to add an EXSLT (XSLT 1.0) solution here for completeness:

$ xpath++ "str:split('test', '')" empty.xml
<token>t</token><token>e</token><token>s</token><token>t</token>
$


Mit besten Gruessen / Best wishes,

Hermann Stamm-Wilbrandt
Level 3 support for XML Compiler team and Fixpack team lead
WebSphere DataPower SOA Appliances
https://www.ibm.com/developerworks/mydeveloperworks/blogs/HermannSW/
https://twitter.com/#!/HermannSW/
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294



  From:       Robby Pelssers <Robby.Pelssers@xxxxxxx>

  To:         "xsl-list@xxxxxxxxxxxxxxxxxxxxxx"
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>,

  Date:       08/17/2012 04:35 PM

  Subject:    [xsl] how to split word into sequence of letters






Hi guys,

Probably the stupidest question since a while but what would be the
preferred way to split a word into a sequence of letters  ;-)

Cheers,
Robby


Current Thread
Keywords