Subject: RE: [xsl] msxml svg utf-16 From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Fri, 13 Jul 2001 10:04:50 +0100 |
Yes, It happens if the result of a transformation ends up in a string. Strings are utf-16 encoded. To avoid it send the result of the transform to a stream object. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of >xdyang@xxxxxxxxxxxxxx >Sent: 12 July 2001 18:22 >To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx >Subject: [xsl] msxml svg utf-16 > > >With MSXML2 it insisted on outputting ><?xml version="1.0" encoding="UTF-16" standalone="yes"?> > even though i had <xsl:output method="xml" encoding="UTF-8" indent="yes" >doctype-system="-//W3C//DTD SVG 20000303 Stylable//EN" >doctype-public="<http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/s >vg-2000030 3- >stylable.dtd" standalone="yes" /> in my stylesheet which caused an error: >encoding specified in XML declaration is incorrect: line1, column 30 > If you remove the encoding then it works fine. > >anybody who meet the same problem, thank you > > > 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 -> |
---|---|---|
[xsl] msxml svg utf-16, xdyang | Thread | [xsl] Problems with for-each, Kevin Nardi |
RE: [xsl] Re: Site test] Posting to, Chris Bayes | Date | Re: [xsl] Problems with for-each, David Carlisle |
Month |