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

[xsl] Re: processing text nodes one character at a time


Subject: [xsl] Re: processing text nodes one character at a time
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 26 Sep 2006 18:00:02 -0700

The original poster asked:

 How to output a specific character in front of every character in a
given string?

Part I:
====
This is a problem that is easily solved with FXSL. the solution is
this one-liner:


f:str-map(f:flip(f:concat2(), '|'), string(/*))



-- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor