[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] xslt component


Subject: RE: [xsl] xslt component
From: "Ai, Larry" <lai@xxxxxxx>
Date: Mon, 23 Jun 2003 16:21:47 -0400

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@xxxxxxxx]
Sent: Monday, June 23, 2003 3:41 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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



Current Thread
Keywords