[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: How can I suppress the header line in output file formattedby XSL ?
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Sun, 02 Nov 2003 20:04:42 +0100
kaseykim@xxxxxxxxxxxx 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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member