This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

omit-xml-declaration="yes" doesn't work


Note: I've searched the xsl-dev archives and found people talking about
this problem, but couldn't find a solution.


I'm using jaxp-1.1 (saxon) to do transformations to some xhtml so I can
display it as html. It all works fine, except that the
omit-xml-declaration="yes" instruction seems to be ignored.

The complete xsl:output element in my stylesheet is as follows:

   <xsl:output method="html" omit-xml-declaration="yes" indent="yes"/>

The document output from the transformation still has the following
first line:

  <?xml version="1.0" encoding="iso-8859-1"?>

which it shouldn't, as far as I can see.


Can anyone offer any advice on this problem?

thanks

alex

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]