RE: taking out <?xml version="1.0" ...> statement from output in Xalan

Subject: RE: taking out <?xml version="1.0" ...> statement from output in Xalan
From: "Jarno Elovirta" <jarno@xxxxxxxxxxxxxx>
Date: Thu, 27 Jul 2000 07:23:57 +0300
> I've been looking for a way to take out <?xml version="1.0">
> statement from output.
> I use Xalan's extension of <xalan.write> to writing multiple output files
> and each output files start with this statement.  I'd like to remove those
> line.
> Has someone manage to disable this?

Using <xsl:output omit-xml-declaration="yes" /> should work.

--
Jarno Elovirta     jarno.elovirta@xxxxxxxxxxxxxx
CODEONLINE Ltd.    http://www.codeonline.com
P.O. Box 538 (Ukonvaaja 2 A), FIN-02130 Espoo, Finland
Mobile: +358 40 772 6785 Fax: +358 9 4393 0410

"Hoc non credo; toga mea surrepta est iterum!"


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


Current Thread