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

RE: Output: XML to XML scrambling unicode characters

Subject: RE: Output: XML to XML scrambling unicode characters
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 4 Mar 2002 17:30:37 -0000
rodgers1
Your output is in UTF-8 encoding. Are you looking at it with a file viewer
that's capable of displaying UTF-8 correctly?

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Mike Ferrando
> Sent: 04 March 2002 15:42
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Output: XML to XML scrambling unicode characters
>
>
> Dear List (et al.),
> I have been reading the XALAN posts concerning using xsl:output and
> have not found the problem I have having with my XML to XML
> transformation.  My unicode is being scrambled. I am receiving no
> parsing errors. I have been successful in transforming them using the
> following command line:
>
> saxon Rodgers1-cnt.xml MyEAD2.xsl > R1.xml
>
> Anyone have an idea of what I am missing here?
>
> [code below]
>
> Mike F.
>
>
> Here is my output (R1.xml):
> <?xml version="1.0" encoding="utf-8"?>
> <RODGERS1>
> <ITEM>
> <TITLE>Rhythm</TITLE>, <C1007>from <PERSNAME ENCODINGANALOG="700$a"
> ROLE="lyr" NORMAL="Charlot, AndrC)">AndrC) Charlot</PERSNAME> revue
> <TITLE NORMAL="" LINK="" RENDER="">Please!</TITLE>, <DATE NORMAL=""
> LABEL="">1933</DATE></C1007>
> </ITEM>
> </RODGERS1>
>
> Here is my xml (Rodgers1-cnt.xml):
> <?xml version="1.0" encoding="utf-8" standalone="no"?>
> <!DOCTYPE RODGERS1 SYSTEM "Rodgers1.dtd" >
> <RODGERS1>
> <ITEM>
> <TITLE>Rhythm</TITLE>, <C1007>from <PERSNAME ENCODINGANALOG="700$a"
> ROLE="lyr" NORMAL="Charlot, Andr&#233;">Andr&#233; Charlot</PERSNAME>
> revue <TITLE>Please!</TITLE>, <DATE>1933</DATE></C1007>
> </ITEM>
> </RODGERS1>
>
> Here is my xsl (MyEAD2.xsl):
> <?xml version="1.0" encoding="utf-8"?>
> <xsl:stylesheet   version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output version="1.0" method="xml" indent="yes" encoding="utf-8"
> omit-xml-declaration="no" standalone="no"
> doctype-system="Rodgers1.dtd" media-type="text/xml"/>
>
> <xsl:template select="/">
> <xsl:copy-of select="//ITEM"/>
> </xsl:template>
> </xsl:stylesheet>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - sign up for Fantasy Baseball
> http://sports.yahoo.com
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.