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).
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....
TIA,
-Tom
:wq