Altova Mailing List Archives

Re: [xsl] Re: Problem with encoding using document function

From: Ant&#xF3;nio Mota <amsmota@--------->
Date: 3/2/2005 3:09:00 PM
Yes, i have

response.ContentType="text/xml; charset=ISO-8859-1"

but that affects the way the resulting XML is viewed in browsers, it
won't affect the xml when i get it thru document(), at least from the
tryes i've made...

On Wed, 02 Mar 2005 05:15:01 -0800, Robert Koberg <rob@xxxxxxxxxx> wrote:
> >   I've attached the string containing the instruction to the beginig of the XML.
> > response.Write "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>" & aDocXml.xml
> >
> Shouldn't the ASP send this information? (yes)
> In Java you would do:
> response.setContentType("text/xml; charset=ISO-8859-1");
> There has to be something similar in ASP (the string would remain the same).
> best,
> -Rob


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.