Re: converting speacial characters ?

Subject: Re: converting speacial characters ?
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Wed, 13 Sep 2000 11:26:27 -0400
At 04:15 PM 09/13/2000 +0300, Jukka.T.Lehtinen@xxxxxxxxx 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 &quot;)

Look into the XPath translste() function. It's covered in: http://www.w3.org/TR/xpath#section-String-Functions

======================================================================
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@xxxxxxxxxxx     | caught me on an 80-foot stepladder with a
                        | coathanger." (Steven Wright)


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread