Hi all,
I've tried to use the class StringXMLizable to insert xml data
into the sax stream. When I serialize the stream map:serialize type=xml/
without further transformation everything works fine.
When I tried to transform the output stream with xslt stylesheet
(map:transform type=xslt)
in a
the StringXMLizable class in your Transformer.
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/xml/StringXMLizable.html
Regards,
Jeroen
Frank Rocholl wrote:
Hi Jeroen,
thanks for help.
But im not quite familar with SAX.
How I have to Cast the string in the example
/cocoon/WritingPipelineComponents
http://wiki.apache.org/cocoon/ImplementingTransformers
In your case it depends on what those external libraries return to you.
Do they return a DOM document you will need to convert it to SAX to be
able to output it.
Kind regards,
Jeroen Reijn
Frank
Dear all,
I'ld like to generate a simple xml/html page with a xsl transformation.
I wondering that I get the atrributes in an other order than I've given
in the xsl stylesheet.
Here are the files:
### BEGIN starget.xml ###
?xml version=1.0 encoding=UTF-8?
Document
Item