This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[QUESTION] translating whitespaces into
- From: "Daniel S. Haischt" <sirabyss at gmx dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 04 Oct 2002 13:31:56 +0200
- Subject: DOCBOOK-APPS: [QUESTION] translating whitespaces into
hello,
this question might be likly off-topic...
i am having a stylesheets that produces some
HTML output (taking a website xml file as input).
sometimes i'll like to translate every whitespace
that occures in a plain text string into
example:
----------8<-----------8<-----------8<----------
This is a foobar sentence.
sould be translated into:
This is a foobar sentence.
---------->8----------->8----------->8----------
i used the XSLT translate() function to accomplish
this.
translate('This is a foobar sentence.', ' ', ' ')
unfortunatly this does not produce the desired result.
so how is it possible to translate whitespaces into
?
With best regards / Mit freundlichen Gruessen
Daniel S. Haischt IT Consulting
______________________________
[revolutionary and alpha geek]
Daniel S. Haischt
Grabenstrasse 11
D-71083 Herrenberg
G E R M A N Y
FON: +49 -7032-992909
+49 -700-DHAISCHT
FAX: +49 -7032-992910
CELLULAR: +49 -172-7668936
email: daniel.haischt@daniel-s-haischt.biz
web: http://www.daniel-s-haischt.biz
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS dx s:- a- C++ UB++++ P+++ L++++ E W+++ N+++ o-- K- w---
O++ M++ V- PS+ PE++ Y+ PGP++ t+++ 5+ X+++ R+ tv++ b+++ DI+ D+++
G e++ h-- r+ y+++++
------END GEEK CODE BLOCK------