Cleyton Jordan wrote:
I use XSLT 1.0. So the function you provided will not work for me.
Is there any similar trick in XSLT 1.0?
You need to escape the single quote in the JavaScript string literal as
\'. With XSLT 1.0 you will have to write a template doing that or make
use of EXSLT http://exslt.org/str/functions/replace/index.html or a
similar library.
--
Martin Honnen
http://JavaScript.FAQTs.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>
--~--