xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Turner <simon.tur...@zen.co.uk>
Subject Generating SVG Tiny Documents
Date Fri, 09 Apr 2004 16:19:16 GMT
I would like to generate SVG Tiny (SVGT) documents with Batik. Does 
anyone know how I can do this?

I have tried simply specifying the DocType:

   DOMImplementation domImpl =
   DocumentType docType = domImpl.createDocumentType(
       "-//W3C//DTD SVG 1.1 Tiny//EN",
   Document document = domImpl.createDocument(

but I get a org.w3c.dom.DOMException: "Doctype not supported".

The only solutions I can think of are nasty - generating a full SVG 
document, then using XSLT to strip out the non-compliant elements, or 
ditching Batik altogether and writing raw DOM code to generate SVGT myself.


Thanks in advance,


To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message