Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 90170 invoked by uid 500); 3 Oct 2002 12:32:29 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 90159 invoked from network); 3 Oct 2002 12:32:29 -0000 Reply-To: From: "Luca Morandini" To: Subject: RE: embedding html in xml ? Date: Thu, 3 Oct 2002 14:33:22 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Lorenzo, quoting from the "XSLT 1.0 - W3C Recommendation 16 November 1999": "The xsl:value-of element is instantiated to create a text node in the result tree. The required select attribute is an expression; this expression is evaluated and the resulting object is converted to a string as if by a call to the string function." Therefore, every tag in the "select" expression is deleted, only the text remains: try converting, say, "aaa

test

bbb" with and without the "disable-output-escaping", the result will always be "aaa test bbb". Think of "xsl:value-of" as an flattener of XML elements :) Best regards, --------------------------------------------- Luca Morandini GIS Consultant lmorandini@ieee.org http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Lorenzo De Sio [mailto:l.desio@w4b.it] > Sent: Thursday, October 03, 2002 2:13 PM > To: 'cocoon-users@xml.apache.org' > Subject: R: embedding html in xml ? > > > Luca, > > I agree it converts them to plain text anyway, but since this text is HTML, > I guess it's much different having it serialized as <p>test</p> > instead of

test

. Or maybe I missed something :-)) > > > L. > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: