Subject: Re: [xsl] adding escaping slashes From: Joe Stump <joe@xxxxxxxxxxxx> Date: Wed, 29 Jun 2005 16:39:06 -0700 |
I've got some text (ie. <b>Joe's Diner</b>) that needs to be translated into something along the lines of the following:
<a onClick="doSomething('Joe\'s Diner');">Joe's Diner</a>
I've got everything working, but how to do the equivalent of PHP's addslashes() to the text() of an element is causing me some problems. Anyone have any ideas how to add escaping slashes to a text node?
Thanks!
--Joe
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] adding escaping slashes, Joe Stump | Thread | [xsl] sorting issue, cookie king |
[xsl] adding escaping slashes, Joe Stump | Date | RE: [xsl] Traversing nodes and stor, Aron Bock |
Month |