cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Bublitz <>
Subject Re: xsp and &lt; symbol problem
Date Wed, 27 Apr 2005 08:01:16 GMT
thanks for that information. i tried several serializers but when i 
create output in the form

	String out = "&lt;tagname&gt;";


i still get the &lt; and &gt; and not < and > ... do i need to write my 
own serializer?

this one doesn't work :-(

	String out = "<tagname>";

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 &lt; and &gt; when calling 
<xsp:logic>String out = 



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 []
>> Sent: Montag, 25. April 2005 18:17
>> To:
>> Subject: Re: xsp and &lt; 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:
>>>> hi,
>>>> i tried both but neither does work. i googled but can't
>> find anything
>>>> on how to create strings with "<" or ">" characters or how
>> to print
>>>> these 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message