Upayavira wrote:
The source writing transformer in 2.0.x is different from that in 2.1. Use something like the following in 2.0.x:

Looking at the source file SourceWritingTransformer.java I must strongly disagree.


<source:write src="xml/resource-list.xml" xmlns:source="http://apache.org/cocoon/source/1.0"; overwrite="true">
<xsl:copy-of select="/*"/>
</source:write>


Regards, Upayavira

On 12 Aug 2003 at 12:22, Ferenc Kiraly wrote:


Hi!

I'm trying to use the SourceWritingTransformer to generate a file, but
I consistently get the following error:

java.lang.RuntimeException: Errors in XSLT transformation:
Fatal: org.apache.cocoon.ProcessingException: Cannot get 'xml'
serializer

The error occures if I specify a serializer in the sitemap or not.

Im using cocoon 2.0.5. here is the relevant snippet from my XSP:


<source:write> <source:path>page</source:path> <source:source>volatile/my.xml</source:source> <source:fragment> <content> Stuff. </content> </source:fragment> </source:write>



feri.





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






--

feri.

Ferenc Kiraly
tel: +386 1 472 8429
gsm: +386 41 252503



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



Reply via email to