Please constraint from using html mail. My comments below start with
'---'

Vadim

-----Original Message-----
From: von Schwerdtner, Thomas (GXS, FPI) 

Hello all, 
  I am trying to put some markup inside my xsp:logic, somewhat as
follows: 
<xsp:logic> 
String foo = "<b>FOO</b>"; 
</xsp:logic> 
Problem is, if I leave it as above, I get "content of elements must
consist of well-formed character data or markup" errors, if I use use
any alternate representations of < and > (HTML entities or placing the
whole thing in a CDATA block) then they are kept as such and are
displayed as such in the resulting HTML page (which is no good for me).

--- As I just wrote in the previous email, this is quite popular theme
now on the list. Look at util logicsheet and at the usage samples posted
to this list on this and last week.


Everything works fine without the <b></b> tags, so what can I do to get
some markup inside a java string inside some <xsp:logic></xsp:logic>?
I am using Cocoon 2.0.2 and the default compiler (Pizza I believe).  
I'm somewhat confused since some mails in the archives seem to indicate
that tags within " " should work OK.... 

--- No, you always have to escape < and > symbols in the XSP, either by
using CDATA section or by using &lt; &gt; entities. IIRC, this could be
seen in the XSP samples.

Vadim


TIA, 
-Tom 
:wq 


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to