xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: DOMResult to SVGDocument convertion...
Date Wed, 06 Aug 2003 00:36:40 GMT
Allan Reffson Granja Lima wrote:
> Hi everybody!
> 
> I have been some problem trying to render a SVG doc generated from XSLT
> transformation.
> When I try to use setSVGDocument((SVGDocument) doc.getNode()) I get a
> CastClassException....
> 
> Someone knows a way to fix this?

    Use current CVS it has a new method setDocument that takes
a normal DOM Document (which is what you have).  It will
transcode it to our SVG DOMImplementation.  That said you are
probably best off using our SVG DOMImplementation to build
an SVGDocument we can use in the first case.



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


Mime
View raw message