[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] adding escaping slashes
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|