[jdom-interest] setting the encoding after a transformation
Altner, Bruce (HQ-LD070)[SAICIS/CDI]
bruce.altner-1 at nasa.gov
Mon Jun 27 06:53:45 PDT 2005
I already had made the "encoding" declaration. Adding the
"omit-xml-declaration" had no effect. The encoding still appears as
UTF-8 in the transformed file.
Thanks anyway.
Bruce
-----Original Message-----
From: Laurent Bihanic [mailto:laurent.bihanic at atosorigin.com]
Sent: Monday, June 20, 2005 5:11 AM
To: Altner, Bruce (HQ-LD070)[SAICIS/CDI]
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] setting the encoding after a transformation
Altner, Bruce (HQ-LD070)[SAICIS/CDI] wrote:
> I am trying to control the encoding of a transformed xml document but
it
> stubbornly refuses to change (it always comes back as UTF-8, which is
> the JDOM default).
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"
omit-xml-declaration="no" encoding="ISO-8859-1"/>
...
</xsl:stylesheet>
More information about the jdom-interest
mailing list