cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: Outputting Plain Text
Date Thu, 15 Nov 2001 09:14:39 GMT
> 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.

As I remember, you should use a fake root element, which will be stripped
from the output:

<root>
    Your plain text goes here...
</root>

regards,
    Konstantin

>
> Thanks,
>
> Nick.
>
> ---------------------------
> Nick McKenna
> Managing Director
> Highpoint Data Services Ltd
> http://www.highpointdataservices.com
> nick.mckenna@highpointdataservices.com
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message