Hi Lincoln,

At 09:47 AM 8/30/2005, you wrote:
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.

What isn't clear from your question is what you get back from Cocoon. This file is your input file? What kind of transform are you running? Are you getting an error message back, or nothing at all? Is Cocoon's parser simply failing to parse the file?

The input is unusual -- entity references for namespace declarations -- but assuming entities are expanded first (as they should be), there's nothing that screams out that it won't work (at least to my eyes at this moment).

It's not even clear that it's an XSL question. Please be more specific!

Cheers,
Wendell


======================================================================
Wendell Piez                            mailto:[EMAIL PROTECTED]
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to