[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

&ndash problem and netscape.

Subject: &ndash problem and netscape.
From: Ling Kok Choon <kokchoon@xxxxxxxx>
Date: Tue, 20 Nov 2001 14:19:36 +0800
ndash
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 &#8211; 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 &#8211; 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 &#8211.

So, any idea ?


Thank you.


regards,
Kok Choon.

--------------------------------------------------------
Name: Ling Kok Choon
E-mail: Ling Kok Choon <kokchoon@xxxxxxxx>
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.