Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 23759 invoked from network); 6 Feb 2001 21:19:49 -0000 Received: from kbl-mdb539.zeelandnet.nl (HELO no-nonsense.org) (62.238.2.31) by h31.sny.collab.net with SMTP; 6 Feb 2001 21:19:49 -0000 Received: from peter (peter.home [10.0.0.2]) by no-nonsense.org (8.11.1/8.11.1) with SMTP id f16LJpi38237 for ; Tue, 6 Feb 2001 22:19:52 +0100 (CET) (envelope-from petercv@zeelandnet.nl) Message-ID: <004901c09082$ce842990$0200000a@peter> From: "Peter C. Verhage" To: References: <008a01c0905f$7d9b3370$0200000a@peter> <3A80309F.A9C38C09@apache.org> Subject: Re: Plain text from Cocoon Date: Tue, 6 Feb 2001 22:21:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "Berin Loritsch" To: Sent: Tuesday, February 06, 2001 6:13 PM Subject: Re: Plain text from Cocoon : > 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. : : That's not necessarily true. Otherwise XSP and VRML won't work. The : way it works in Cocoon, is you must have root tags. Everything can be : translated to text inside the base tags. The TextSerializer or : similar mechanism in Cocoon 1 will strip out the root tags. I understand what you mean, but when you look at XSLT it is true what I am saying, and like I said, it depends also on the program that interprets the output. In this case the program is Cocoon, and Cocoon knows to strip the root element if the type is text/plain probably. Ofcourse this last thing I did not know :P. Regards, Peter