cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric A. Sirois" <>
Subject Re: I need disable-output-escaping="yes"
Date Fri, 09 Mar 2001 15:02:40 GMT
Have youu tried embedding the content of the conwml in a CDATA section?

    <p>esta es la cartita numero 1</p>

A) You would not have to write the < as &lt;
B)  It's much easier to read when attemping to debug your WML
C) No, localization issues since the data is not parsed. :-)

To get it out in the XSL use copy-of instead of value of.

<xsl:copy-of select="conwml"/>



----- Original Message ----- 
  From: Sema Group 
  Sent: Friday, March 09, 2001 5:52 AM
  Subject: I need disable-output-escaping="yes"

  I want to do something like that:
  The following is my XML (And It has to be like this :-))

      &lt;p&gt;esta es la cartita numero 1

  The conwml would be a WML well-formed code.

  And my XSL has to show this "conwml" as WML code, with :
  <xsl:value-of disable-output-escaping="yes" select "conwml"/>

  and it would show .... 
  <p>esta es la cartita numero 1</p>

  but it doesn't work in Cocoon. What can I do? 

  Is Cocoon abble to understand disable-output-escaping parameter?


  best regards

View raw message