Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 33996 invoked from network); 31 Jul 2004 19:40:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 Jul 2004 19:40:34 -0000 Received: (qmail 2001 invoked by uid 500); 31 Jul 2004 19:40:27 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 1722 invoked by uid 500); 31 Jul 2004 19:40:25 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 1708 invoked by uid 99); 31 Jul 2004 19:40:25 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received: from [65.54.187.190] (HELO hotmail.com) (65.54.187.190) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 31 Jul 2004 12:40:23 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 31 Jul 2004 12:40:22 -0700 Received: from 217.12.147.11 by bay18-dav10.bay18.hotmail.com with DAV; Sat, 31 Jul 2004 19:40:22 +0000 X-Originating-IP: [217.12.147.11] X-Originating-Email: [ben_pope@hotmail.com] X-Sender: ben_pope@hotmail.com Reply-To: From: "Ben Pope" To: Subject: RE: html entity problem Date: Sat, 31 Jul 2004 20:40:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <08BBB02E-E2D5-11D8-BAED-0003938366A4@beyanet.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcR24c4Oebl1LOJWQE21X/ccJB7rrAAUoCxw Message-ID: X-OriginalArrivalTime: 31 Jul 2004 19:40:22.0484 (UTC) FILETIME=[38027140:01C47736] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Try being a bit more specific, I still don't know what it is that you = intend to do. I have no idea why you created a DTD for the entity. If you want to output html by writing it inside your XSLT as you would = in an editor, without having to worry about the parser parsing it, or the serialiser playing with it, do this: ]]> The CDATA section makes the parser leave it alone, and the DOE makes the serialiser leave it alone. Which should have been described fully in the references I gave. Enjoy. Ben ________________________________ From: beyaNet [mailto:andrew@beyanet.com]=20 Sent: 31 July 2004 10:36 To: users@cocoon.apache.org Subject: Re: html entity problem Hi Ben, thanks for your reply. I have included the following code into my xsl template which seems to solve the problem, but introduces another one: ]>=20 When the xhtml page is generated it renders the following character to = the screen: =C2=20 How do i resolve that? thanks Andrew On 31 Jul 2004, at 10:14, Ben Pope wrote: Hi, =09 Handle them how? =09 You may find these two pages useful, that basically deal with the input and output: http://www.dpawson.co.uk/xsl/sect2/cdata.html =09 http://www.dpawson.co.uk/xsl/sect2/N2215.html =09 Pay particular attention to: http://www.dpawson.co.uk/xsl/sect2/N2215.html#d3358e217 =09 To determine when each is useful (Might as well read this first, if it doesn't make sense, look above) =09 Ben =09 =09 =09 -----Original Message----- From: beyaNet [mailto:andrew@beyanet.com]=20 Sent: 31 July 2004 09:59 To: users@cocoon.apache.org Subject: html entity problem =09 Hi, what code do I need to place inside my xsl template to handle html entities such as   ? =09 thanks =09 Andrew =09 =09 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org =09 =09 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org =09 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org