This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: intro, and quick newbie-ish question!
- To: xsl-list at mulberrytech dot com
- Subject: Re: intro, and quick newbie-ish question!
- From: Miloslav Nic <nicmila at idoox dot com>
- Date: Fri, 18 Aug 2000 07:10:20 +0200
- References: <89006B504447D411B7A50050DA13E36D0D1043@LIVEMIND-NT2>
- Reply-To: xsl-list at mulberrytech dot com
Shane Knapp wrote:
>
> hey all!
>
> i've been lurking on here for a few days, reading and learning. we're got
> quite the resource here. lots of good, knowledgable people!
One character substitutions are easy with translate() function:
http://zvon.org/xxl/XSLTreference/Output/index.html
http://www.zvon.org/cgi-bin/xlab/bin/stringFunctions.py
Word substitutions are much more involved. My solution to this problem
was Perl and nowadays
it is Python.
>
> and now that've greased the wheels a little bit... ;)
>
> is it possible to format data within XML tags during the XMLT processing?
> for instance, to strip out puncuation marks, substitute words, etc...
>
> for example, change this:
>
> <problem>shane's car is broken & he can't get home.</problem>
>
> to:
> <problem>shanes car is broken and he cant get home</problem>
>
> i think i can use DOM to help... but seeing that i've been
> learning/reading/doing this stuff since sunday afternoon, i'm still in
> newbie-mode. :)
>
> thanks in advance!
>
> shane
> --
> Shane Knapp
> Wireless Platform Engineer
> LiveMind, Inc
> 415.861.0394
> www.livemind.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>
<mail> nicmila@idoox.com </mail>
<support> http://www.zvon.org </support>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list