cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter C. Verhage" <pete...@zeelandnet.nl>
Subject Re: Plain text from Cocoon
Date Tue, 06 Feb 2001 17:08:56 GMT
<< Hi!

I wan't plain text output from cocoon, but somehow it gives an
error message unless i include som html-tags. How can i get plain
text without the tags ? >>

You probably can't. Because of the simple reason that XSL(T) is ment for
transforming one XML file to another. So you always have to make a XML tree
with XSLT, whatever the program that interprets the output does with it is
up to the program (for example transform it to a PDF or HTML document), but
you cannot use XSLT to create a plain text file without at least some root
tag.

Peter



Mime
View raw message