You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Kilmer, Erich" <Er...@mmt.bellhowell.com> on 2001/08/30 16:29:29 UTC

My FO data is in a Document ... how to get it into a String?

Hello again,

Hope this question is OK for this group. I think that it is since it is a
question on org.apache.fop.tools.xslt.XSLTransform.
The problem is that I am trying to do everything in memory. The XML and
resulting FO data are never on disk.

The call I am trying to make is:

org.apache.fop.tools.xslt.XSLTransform.transform( org.org.w3c.dom.Document
in, InputStream xsl, org.w3c.dom.Document out);

When I call XSLTransform.transform I have my XML in a org.w3c.dom.Document
(thanks Christian!) and I have the XSL in an InputStream. The call results
in the transformed data in the out Document.

Does anyone know how to get the data from the out Document to a String?
Tried a out.toString() but that doesn't work.

TIA for the help!

Erich Kilmer
Bell+Howell
(919)767-7599



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org