Subject: RE: [xsl] Output: XML to XML scrambling unicode characters From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Mon, 4 Mar 2002 17:30:37 -0000 |
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: [xsl] 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é">André 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Output: XML to XML scramb, Mike Ferrando | Thread | Re: [xsl] default encoding with no , Kendall Shaw |
RE: [xsl] Counting nodes processed, Michael Kay | Date | RE: [xsl] Find a set of nodes and d, Michael Kay |
Month |