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

RE: Space at start of result.

Subject: RE: Space at start of result.
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 22 Jun 2000 09:34:33 +0100
RE: Space at start of result.
> As far as why is concerned, SAXON puts a blank line at the 
> beginning of its output when it does not output an XML Declaration.  It 
> doesn't output an XML Declaration if the output method if HTML.

Deducing the spec from an empirically observed behaviour is always likely to
give slightly wrong answers! I think what actually happens is that the blank
line is output if indent="yes", which is the default if the output method is
(explicitly or implicitly) HTML. I think I can change it easily enough to
avoid this blank line, though I agree with the view that it's not the cause
of the problem.

I would check that the MIME type in the servlet response is being set
correctly. As far as I can tell, Netscape takes the MIME type quite
seriously, but IE semes a bit inclined to second-guess the correct type from
the contents of the file, for example I've tried and failed in the past to
get it to display HTML examples as text, except by escaping all the angle
brackets. (Which is the opposite of your problem!)

Mike Kay


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.