Subject: Re: intro, and quick newbie-ish question!
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Fri, 18 Aug 2000 07:10:20 +0200
|
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@xxxxxxxxx </mail>
<support> http://www.zvon.org </support>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|