http://www.scribeserver.com/NEUMES/xml/NeumesXSLT_doc.htm#EscApos
Worked like a charm.
--Joe
On Jun 29, 2005, at 4:12 PM, Joe Stump wrote:
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--