xsl-list
[Top] [All Lists]

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

2006-09-26 18:00:30
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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>