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

Re: XML string input

2002-03-20 Thread Raj Kumar Kundu
Yes it is possible. u just write new org.xml.sax.InputSource(new java.io.StringBufferInputStream(String xmlString);   i hope, it will solve ur problem.   Cheers Raj - Original Message - From: Olivier Buisard To: [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 11:37 PM

Re: XML string input

2002-03-19 Thread Trevor_Campbell
Create a stream over your XML, InputStream xmlStream = new StringBufferInputStream(strXML); then create an Input Source new InputSource(xmlStream); "Olivier Buisard"