Subject: Re: [xsl] Remove <?xml version> line from output? From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx> Date: Fri, 22 Dec 2000 10:27:54 +0000 |
Kerry, Derek Ngok wrote: > In your xsl file, add the following top-level tag: > <xsl:output method="xml" omit-xml-declaration="yes"/> Actually, if you're producing RTF, then you shouldn't be outputting using the XML method anyway: you're producing text, not XML, so use: <xsl:output method="text" /> and the XSLT processor won't output an XML declaration because it knows that it's not XML anyway! :) I hope that helps, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Remove <?xml version> lin, Derek Ngok | Thread | RE: [xsl] Remove <?xml version> lin, Nice, Kerry A. (LNG- |
Re: [xsl] XPATH: Can not convert #S, Jeni Tennison | Date | Re: [xsl] [XSL-FO] column of small , Arved Sandstrom |
Month |