xsl-list
[Top] [All Lists]

RE: xslt component

2003-06-23 13:21:47
I am using batik's svggen API which converting a Graphic2D object into a 
Document object which contains svg tags in a dom tree-like structure.

I don't know what to do with this Document object so the image will be included 
in the pdf document!

I am not sure how to implement your solution, more hints?

Thanks!

Larry

-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm(_at_)yahoo(_dot_)de]
Sent: Monday, June 23, 2003 3:41 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] xslt component


Ai, Larry wrote:
Currently the method returns a string and now I am looking for a way to have
the method to return a Document which is a parsed XML tree for the SVG.

One possiblity is to use a custom URIResolver filtering on a
custom protocol, which returns a SAXSource with either an XML
parser applied to your SVG data string, or directly getting
SAX events fired by the SVG generator.

J.Pietschmann


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>