cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject RE: Output escaping
Date Wed, 14 Feb 2001 13:05:59 GMT
Matt Smith <> wrote:
>We had a similar problem and found the following workaround.  I am assuming
>that you are saving this xml packet into a database or something, and then
>retrieving it later.
>When you save your xml packet, instead of saving tags as <i> and <b>, etc,
>save them as something like <italic> <bold>, or use a namespace eg
><myproj:b>.  Then, in the xsp you get the data and include it into the page
>using <util:expr>.  Finally, your xsl can replace the substituted tags for
>the real html ones eg:
>	<xsl:template match="bold">
>		<b><xsl:value-of select="."/>
>	</xsl:template>
>	.
>	.
>	.
>It takes a couple of steps, and your xml packets can't be viewed directly 
>a browser, but it should get around the escaping problem.

I don't understand why any of that is necessary. AFAIK it will have no 
effect at all, it's just a waste of time. See my previous message on this 

Get Your Private, Free E-mail from MSN Hotmail at

View raw message