Use of StringXMLizable in a custom transformer

2006-12-20 Thread Frank Rocholl
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

Re: Re: Including XML Tags in custom transformer

2006-12-07 Thread Frank Rocholl
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

Re: Including XML Tags in custom transformer

2006-12-06 Thread Frank Rocholl
/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

Order of attributes in XSL Transformation

2006-02-22 Thread Frank Rocholl
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