This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
&ndash problem and netscape.
hi,
i am developing a project where need to transform 1 xml to another xml file. I meet some
problems:
1) &ndash problem - the original xml is look like :
...
<entry>
<para>July 2 – Aug 25, 2001</para>
<para>(8 weeks)</para>
</entry>
...
and the xsl :
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
...
...
i put the output is xml
i use the command : java -jar xalan.jar -IN input.xml -XSL xslfile.xsl -OUT output.xml
the generated xml is look like :
...
<para>July 2 – Aug 25, 2001</para>
<para>(8 weeks)</para></td>
...
is it anyway to keep the – instead of - ? because i need to use the output xml file to
render with cocoon, and when i view the page ( after process by cocoon ) with IE, the - is shown
correctly, but when i use the NS4++, the character &ndash is shown. I notice that NS4 ++ can't
support &ndash but can support –.
So, any idea ?
Thank you.
regards,
Kok Choon.
--------------------------------------------------------
Name: Ling Kok Choon
E-mail: Ling Kok Choon <kokchoon@brel.com>
Date: 11/20/01
Time: 14:19:36
This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions
--------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list