Hi Martin,

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

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="http://www.w3.org/1999/XSL/Transform";
version="1.0">
    <xsl:output encoding="iso-8859-1" method="html"/>

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

</xsl:stylesheet>

Hope this helps,

Joerg

Martin Mauri wrote:

> Hi Joerg,
>
> I'm kinda newbie with escape characters, so what would you suggest me to
do
> 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.
>>
>>Joerg
>>
>>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/vnd.ms-excel 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
>>>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>>www.profesi.com.ar <http://www.profesi.com.ar>
--

System Development
VIRBUS AG
Fon +49(0)341-979-7435
Fax +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to