cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Thenot <a...@thenot.net>
Subject Escaping in <xsp:expr> (stupid question)
Date Tue, 12 Feb 2002 21:44:07 GMT
Hi,

I'd like to know if there is a way to have get data from a 
helper class into a logicsheet without that data getting escaped.
   I looked through xsp.xsl but still haven't been enlightened.

   Here's what my logicsheet looks like:

  <xsl:template match="nhd:g2">
   <xsp:logic>
    String message = com.newhomesdirect.logs.LogQuery.helloWorld();
   </xsp:logic>
   <xsp:expr>message</xsp:expr>
  </xsl:template>

Just for checking, when instead of <xsp:expr/> I put this:

<xsl:text disable-output-
escaping="yes"><![CDATA[<b>ABC</b>]]></xsl:text>

the markup was preserved.
   I tried nesting <xsp:expr/> inside of <xsp:text/> with no 
success (which seem normal since, if I'm understanding xsp.xsl 
correctly, there is no further processing of what's in 
<xsp:text/>).

If anyone has a hint, I'd greatly appreciate it.

In advance, thank you so much!

Andre.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message