[jdom-interest] setting the encoding after a transformation

Laurent Bihanic laurent.bihanic at atosorigin.com
Mon Jun 20 02:10:49 PDT 2005


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