[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How can I suppress the header line in output file

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
xslt suppress xml header
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


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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.