This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: converting speacial characters ?
- To: xsl-list at mulberrytech dot com
- Subject: RE: converting speacial characters ?
- From: "John E. Simpson" <simpson at polaris dot net>
- Date: Wed, 13 Sep 2000 13:41:56 -0400
- References: <4.3.2.7.2.20000913112254.00d11340@nexus.polaris.net>
- Reply-To: xsl-list at mulberrytech dot com
At 05:04 PM 09/13/2000 +0100, Chris Bayes wrote:
> >At 04:15 PM 09/13/2000 +0300, Jukka.T.Lehtinen@nokia.com wrote:
> >>... I need to check elements value that if it has
> >>characters such as '\' or ':' or '"' and I need to replace them to :
> >>
> >>\ -> \\
> >>: -> \:
> >>" -> \" (I'm using ")
> >
> >Look into the XPath translste() function. It's covered in:
> > http://www.w3.org/TR/xpath#section-String-Functions
> >
>but it only works on single characters
Quite so. Thanks for catching me on that, Chris (and aplogies to Jukka for
possibly sending him on a wild-goose chase).
======================================================================
John E. Simpson | "I used to be an airline pilot. I got fired.
http://www.flixml.org | I kept locking the keys in the plane. They
simpson@polaris.net | caught me on an 80-foot stepladder with a
| coathanger." (Steven Wright)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list