Robert Ellis Parrott wrote:
I want to pull a valid XML text out of a database using SQLTransformer if
possible.
Problem (1) everything is escaped away to >, <, and
Problem (2) the resulting text won't really be valid, since it would
include a second <?xml version="1.0"?>.
How do people do this?
You allocate an XML parser, feed it the string, and either
get a DOM document or feed the parser's SAX events directly
into the output stream. You'll probably need a custom
transformer or generator for this task.
J.Pietschmann
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>