xsl-list
[Top] [All Lists]

Re: How can I suppress the header line in output file formatted by XSL ?

2003-11-02 12:19:28
I always get

<?xml version="1.0" encoding="UTF-8"?>

in the output file.

My XSL file starts with this,

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; x
mlns:fo="http://www.w3.org/1999/XSL/Format";>

My output file should not have this type of accessory line.
Does anyboy know how to suppress this ?

This "line" is called xml declaration.

What you want can be achieved by setting to "yes" the omit-xml-declaration
attribute of xsl:output.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




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