DOM to SAX InputSource

Prasanna Kumar AG <[email protected]> Fri, 14 Feb 2003 06:30:08 -0500
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <CB8215AD270F3F4B82E6B04F567C0AC406540F@eipmailsvr.erunway.atc.dns>
Hi All,
Is there any way by which I can generate SAX InputSource from a
org.w3c.dom.Document object, without generating temporary XML file.
I am using iText library to generate PDF from an XML source. As an XML
Source I have a Document object. But the iText library only supports input
in the form of  SAX InputSource.

Any suggestions?

Thanks,
Prasanna Kumar
Virtusa India Pvt. Ltd.,
Phone : (+91)-40-3414200 ext 220
 <mailto:[email protected]> [email protected]
<mailto:[email protected]>
www.virtusa.com <http://www.virtusa.com/>