cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke <>
Subject Re: disable-output-escaping !!
Date Fri, 02 Nov 2001 07:40:46 GMT
Hi Martin,

sorry, that you have to wait so long, but I have not much time at the

I think there are 2 possiblities. Either IE and Excel 97 could use XML, so
the Transformer could not transform it to the HTML-entity. Or you set the
encoding of the output file for instance to ISO-8859-1, the output method
the to html and disable the output escaping.

<xsl:stylesheet xmlns:xsl=""
    <xsl:output encoding="iso-8859-1" method="html"/>

    <xsl:template match="address">
        <xsl:value-of disable-output-escaping="yes" select="."/>


Hope this helps,


Martin Mauri wrote:

> Hi Joerg,
> I'm kinda newbie with escape characters, so what would you suggest me to
> with my problem?
> Look I have to show the content of the following tab in an XSP page:
> <address>blablabla<address>
> Ok, now, some characters inside "blablabla" have escape characters like
> "o"(~).
> And as I said before I have to render the content into HTML through an XSL
> stylesheet, what should I do to disable the output escaping characters?
> thanks in advance,
> Martin
>>disable-output-escaping is bad coding when creating tags with it. For
> example:
>><xsl:text disable-output-escaping="yes">&lt;html&gt;</xsl:text>
>>   ...blabla...
>><xsl:text disable-output-escaping="yes">&lt;/html&gt;</xsl:text>
>>But if you need it for your sign, you can use it. But the XSL-transformer
>>are not forced to support disable-output-escaping!! But most do it.
>>Martin Mauri wrote:
>>>Hi users,
>>>I need to use some kind of disable-output-escaping cause' I need to show
>>>the result of the HTML generated on an Excel spreadsheet. The process of
>>>rendering to HTML and sending it to IExplorer with the
>>>application/ is done in the same process pipeline. The
>>>problem rises when the Excel OLE control embedded in IE opens it. As
>>>HTTPFormatter transforms every "o"(~) to its correspondent SGML code
>>>&ordm;. The thing is that Excel 97 doesn't recognise it.
>>>I took a look at the FAQs and it says that using
>>>"disable-output-escaping" is bad coding, so I don't know what to do.
>>>any idea??
>>>thanks in advance.
>>>Lic. Martin O. Mauri
>>>Profesion + Auge A.F.J.P.
>>>Paraná 666 - CP:1017 - Cap. Federal
>>>TE: (011)4373-7786/7 int:422
>>> <>
>>> <>

System Development
Fon +49(0)341-979-7435
Fax +49(0)341-979-7409

Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message