Hi!

I'm just learning how to use FOP in a servlet, and all examples and
documents I have found show how to use URIResolver for reading the XML
contents from a file in a web server to a Source object. Anyway in my case
I'm not going to do so, I get this XML- document thru a Java interface as a
String. BUT, Transformer.transform()- method can't take a String as a
parameter, it needs a Source object. 

So my question is; how in a world can I create a Source object from a Java
String?? I have googled and browsed thru API's for hours now, and I just
can't find the solution. Or have I understood something completely wrong
with this issue...?


-- 
View this message in context: 
http://www.nabble.com/How-to-create-XML-Source-from-Java-String--tf4600917.html#a13136195
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to