I am trying to generate an SVG file from an Adobe illustrator SVG file via
XSLT/Cocoon.
I have spent 1.5 days on this to no avail.
Here is a basic Adobe illustrator generated SVG:
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version:
6.00 Build 51448) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;"
width="136" height="170" viewBox="0 0 136 170"
overflow="visible" enable-background="new 0 0 136 170"
xml:space="preserve">
<rect x="0 " y="0" fill="#000000" width="100" height="100"/>
</svg>
If I delete the DOCTYPE (and the xmlns' on the svg tag) then all works fine
- but I want the file to stay intact - so that's not an option.
I have seen a number of related postings on this but nothing that seemed to
help me resolve the issue.
Any ideas
Thanks for any help!
Kind Regards,
Linc