<xsl:text disable-output-escaping="yes">...</xsl:text>
  may disable that kind of transformation.


On Wed, Sep 08, 2004 at 03:52:05PM +0200, Thomas Kjeldahl Nilsson wrote:
> Hello!
> 
> Problem: I'm trying to pass a string to a jx template. The passed string 
> contains html markup which I want the generator\serializer to parse and 
> serialize. However, the following sendpage call:
> 
> cocoon.sendPage("error.xml", {"error" : "<b>Bold test</b>"});
> 
> just produces this output:
> 
> <b>Bold test</b>
> 
> Looking at the source, I see that the tags have been translated with 
> escape chars:
> 
> &lt;b&gt;Bold test&lt;/b&gt;
> 
> 
> For various reasons I don't want the jx generator to translate my <b> 
> tags with escape characters- I want the string above to be treated as 
> html markup. How do I accomplish this?
> 
> Regards,
> Thomas Kjeldahl Nilsson
> Oslo, Norway
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to