Please always tell me which Saxon version you are using! 6.5.3 and 7.8
are now very different.
omit-xml-declaration is only relevant when producing XML output, and an
initial newline should be ignored by any application that's processing
the XML. So a blank line here should never do any harm if the software
processing the output is XML-conformant. However, I agree that it's
messy, and I believe that it's no longer produced in the latest version
of the software. However, this may depend on whether or not you are
outputting a DOCTYPE declaration.
> -----Original Message-----
> From: saxon-help-admin@...
> [mailto:saxon-help-admin@...] On Behalf Of
> Devon Young
> Sent: 29 December 2003 16:14
> To: saxon-help@...
> Subject: [saxon] omit-xml-declaration="yes" problem
> When I have omit-xml-declaration="yes" in my xsl:output, it
> does indeed
> leave out the prolog, BUT... the line where it usually is,
> still exists. Is
> there a way for me to get rid of that? I can't have a blank
> line to start
> the file, 'cause it'll mess up IE 6's rendering mode. Which
> simply makes my
> XSLT completely useless, and I can't have that.
> Expand your wine savvy - and get some great new recipes - at
> MSN Wine.
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign
> up for IBM's Free Linux Tutorials. Learn everything from the
> bash shell to sys admin. Click now!
> http://ads.osdn.com/?ad_id=1278&alloc_id=3371> &op=click
> saxon-help mailing list
> https://lists.sourceforge.net/lists/listinfo/s> axon-help