Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: xsl output encoding type being ignored >Thread Next - Re: xsl output encoding type being ignored Re: xsl output encoding type being ignoredTo: NULL Date: 10/9/2007 7:29:00 AM On Oct 4, 8:04 pm, "Joe Fawcett" <joefawc...@newsgroup.nospam> wrote: > <robsto...@gmail.com> wrote in message > > news:1191512440.538453.323710@d......> In an xslt file I am specifying the encoding type of the resulting xml > > file: > > <xsl:output method="xml" version="1.0" encoding="iso-8859-1" > > indent="yes"/> > > > But, when the xml is produced the code is indented but the encoding > > attribute is missing: > > <?xml version="1.0"?> > > > This causes the xml file to be ignored by the javaScript xsl processor > > I am using as it contains characters seemingly not supported by utf-8. > > > Any ideas anyone? > > Show some code how you run the transform. > > -- > > Joe Fawcett (MVP - XML) > > http://joe.fawcett.name I'm using ASP to process this XML file and am using MSXML2.FreeThreadedDOMDocument.4.0 objects and the transformNodeToObject method as I read that the TransformNode method would convert to UTF-8 as it outputs to a string? ASP: oXMLsort.transformNodeToObject oTransform, oXML | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
