That's cause you're using the wrong serializer.

Add this to your map:serializers:

<map:serializer name="text"   mime-type="text/plain" 
src="org.apache.cocoon.serialization.TextSerializer"/>

Then do this in your pipeline:

<map:serialize type="text"/>


DR




At 10:12 PM 11/14/01 +0000, you wrote:
>Dear All
>
>Is it possible to get Cocoon 1.x to output plain text to a web browser using
>an XSL stylesheet? I find that unless the resulting document is valid XML
>(which plain text isn't) Cocoon gives an error.
>
>Thanks,
>
>Nick.
>
>---------------------------
>Nick McKenna
>Managing Director
>Highpoint Data Services Ltd
>http://www.highpointdataservices.com
>[EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to