[Home] [By Thread] [By Date] [Recent Entries]
At 07:55 19-11-2000 -0800, Robert Koberg wrote:
I have some JavaScript functions that, on click of a glossed word, open a new window and writes to it with document.write. That all works fine except there is potential for it to break if the defintion contains a single quote. Is there some way to apply-templates and search for the single quote character and prepend the js escape character "\" to the single quote?
HTH, Chris -- Christopher R. Maden, Senior XML Analyst, Lexica LLC 222 Kearny St., Ste. 202, San Francisco, CA 94108-4510 +1.415.901.3631 tel./+1.415.477.3619 fax <URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



