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]

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


> 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@codeonline.com
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

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