Lars Huttar wrote:

Presumably it's complaining because the content of <source:fragment>
is just that, an XML fragment, rather than a proper XML document
with one top-level node.
But how can that be? Surely you can write text files using
SourceWritingTransformer, not just XML documents.



OK, my mistake. The docs at http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html#The+Tags+in+detai l say you can only write an actual XML document. Don't know why it worked before. Guess we'll have to use some other mechanism.

Lars


AFAIK, you can specify the serializer that you use before writing back to disk. The default (as you've seen) is the XML one.

Can't remember where you specify the serializer though.

Regards, Upayavira



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



Reply via email to