xsl-list
[Top] [All Lists]

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

2003-11-02 12:04:42
kaseykim(_at_)socal(_dot_)rr(_dot_)com wrote:
I always get
<?xml version="1.0" encoding="UTF-8"?>

in the output file.
...
My output file should not have this type of accessory line.

That's not an "accessory line", it's called "XML declaration:
 http://www.w3.org/TR/REC-xml#sec-prolog-dtd

Does anyboy know how to suppress this ?

Use
 omit-xml-declaration = "yes"
in your xsl:output declaration. See
 http://www.w3.org/TR/xslt#output

J.Pietschmann


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