<xsp:logic>
String out = "<tagname>";
</xsp:logic><xsp:expr>out</xsp:expr>
i still get the < and > and not < and > ... do i need to write my own serializer?
this one doesn't work :-(
<xsp:logic>
String out = "<tagname>";
</xsp:logic>i even tried to write a simple class with the methods
public static getLT() {
return "<";
}
public static getGT() {
return ">";
}but this also results in output of < and > when calling <xsp:logic>String out = myClass.getLT()+"tagname"+myClass.getGT();</xsp:logic>
:-(
volker
Am 26.04.2005 um 08:59 schrieb Nathaniel Alfred:
An XSP generates a stream of SAX events. The conversion to a character stream is done by the serializer at the end of the pipeline.
I suppose you are using the XML serializer. Have a look at the HTML serializer or, depending on your application, the text serializer.
HTH, Alfred.
-----Original Message----- From: Volker Bublitz [mailto:[EMAIL PROTECTED] Sent: Montag, 25. April 2005 18:17 To: [email protected] Subject: Re: xsp and < symbol problem
thanks, but unfortunately it still doesn't work...
don't know what i do "wrong" (as i think because it's my understanding that the purpose of xsp is to create dynamic xml-output ?)
volker
Am 25.04.2005 um 11:23 schrieb Ben Pope:
Volker Bublitz wrote:find anythinghi, i tried both but neither does work. i googled but can'tto printon how to create strings with "<" or ">" characters or howthese characters as output of the xsp.
Posssibly my bad, I think the value is "yes", not "true":
disable-output-escaping="yes"
Can't help with the other problem.
Ben
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
