I'm trying to generate SVG from an XML file using XSLT. Most of the
SVG boilerplate that I want the XSLT to add to the resulting SVG file
is a JavaScript which *should* look something like this in the SVG output:
<script><![CDATA[
// JavaScript code here
]]></script>
The JavaScript code is *not* in the XML file. The script is just
something I want the XSLT to add.
So far, all attempts to add the Javascript boilerplate have failed.
Depending on how I try to do it, sometimes the xsltproc program I'm
using consumes the CDATA section and outputs only the JavaScript;
sometimes if I use < and > entity referenes in place of < and >
to announce the CDATA section, the xsltproc outputs the < and >
entity references instead of the < and >.
There seem to be dozens of references on the web to this problem, but
so far I haven't hit on the one that works for me. Could
xsl:cdata-section-elements be part of the answer?
I realize that this isn't strictly an SVG issue. I just thought that
someone here might have run into the same thing, and found an answer.
Probably a thousand folks have run into this issue, and a "classic"
solution awaits.
Thanks in advance for any response,
Doug
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/