|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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, André">André 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








