RE: xml string input to XSLTInputHandler?

2002-12-05 Thread Ciot, Thierry
er; import javax.xml.transform.stream.StreamSource; import java.io.StringReader; -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Thursday, December 05, 2002 12:12 PM To: [EMAIL PROTECTED] Subject: Re: xml string input to XSLTInputHandler? This is an extract from th

Re: xml string input to XSLTInputHandler?

2002-12-05 Thread Jeremias Maerki
This is an extract from the tutorial I'm currently writing. It's not using XSLTInputHandler but JAXP (javax.xml.transform...) to do the XSL transformation. I've modified it slightly so you can use a String as input. File xslt; File pdf; String xml; //Construct d

xml string input to XSLTInputHandler?

2002-12-05 Thread Ciot, Thierry
How do I pass an XML string to XSLTInputHandler?  As far as I can tell this class only accepts a file.  Should I use another class?   I am trying to embed fop into a program.  I have some XML in a String object and I wouldn't want to write it to a temporary file.   Any suggestion and code