xsl-list
[Top] [All Lists]

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

2012-08-20 04:21:14
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(_dot_)Pelssers(_at_)nxp(_dot_)com>          
                                                           
                                                                                
                                          
  To:         "xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com" 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>,                             
           
                                                                                
                                          
  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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--