Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 64998 invoked from network); 24 Jan 2000 22:43:43 -0000 Received: from lotus2.lotus.com (192.233.136.8) by 63.211.145.10 with SMTP; 24 Jan 2000 22:43:43 -0000 Received: from internet2.lotus.com (internet2 [9.95.4.236]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id RAA16503; Mon, 24 Jan 2000 17:58:34 -0500 (EST) Received: from a3mail.lotus.com (A3MAIL.lotus.com [9.95.5.66]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id RAA13258; Mon, 24 Jan 2000 17:43:14 -0500 (EST) Subject: Re: disable-output-escaping To: xsl-list@mulberrytech.com Cc: xalan-dev@xml.apache.org, cocoon-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0 March 30, 1999 From: "Scott Boag/CAM/Lotus" Date: Mon, 24 Jan 2000 17:40:40 -0500 Message-ID: X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V503_01122000 |January 12, 2000) at 01/24/2000 05:44:05 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii I have a feeling this has to do with the DOM use in Cocoon... disable-output-escaping is hard to keep in a generic output DOM, since it has to do with how the result tree is serialized, which is probably being done by a generic formatter after the DOM is created. Xalan has a hack to do this internally (sticking in a PI), but if the Xalan formatters aren't used, it won't work. You haven't said if you're using Xalan or XT or another XSLT processor with Cocoon. -scott "patrick honner" To: xsl-list@mulberrytech.com Sent by: cc: (bcc: Scott Boag/CAM/Lotus) owner-xsl-list@mulber Subject: Re: disable-output-escaping rytech.com 01/24/00 02:35 PM Please respond to xsl-list David- The HTML tags are just ignored when they stand alone inside an element (at least when using XT). They don't appear at all in the output, not even as literals. By putting them inside a CDATA *and* diabling the output-escaping, they are processed just as you would expect in the output HTML. The problem is that I want to have, as an XML-element, a large HTML file that will be properly rendered upon the call. Using CDATA and disable-output-escaping works perfectly, *when* I am creating static HTML pages through XT. However, when I use cocoon (eventually to be used to dynamically create the output) the HTML tags appear literally. Thanks for your interest, and thanks in advance if you can offer any advice. Patrick > > > An example: >can you not just allow HTML elements inside ESSAY, like so: > > Here is some HTML that I want to output > about Apples > > >putting it in a CDATA means you lose all the structure, which isn't >really in the spirit of the NewOrder. > >Getting structured output out of unstructured input is _not_ something >XSL is particularly good at (although it could probably do this case, >given enough inducement) > >David ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list