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 <p>test</p> 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 [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 2:13 PM > To: '[EMAIL PROTECTED]' > 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 <p>test</p>. Or maybe I missed something :-)) > > > L. > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>