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

Re: Saxon html includes unwanted white space in anchor tag

Subject: Re: Saxon html includes unwanted white space in anchor tag
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Fri, 04 Feb 2000 09:33:45 +1300
white and warren tag
Kay Michael wrote:
> 
> So SAXON's behaviour here is clearly wrong. I'm now wondering what algorithm
> would meet the requirement and still satisfy the implicit expectation of
> "indenting". Does anyone have any suggestions? Do I have to consider each
> element type individually?

The whitespace between <a> and <img> elements is a fairly common problem - I
know of several people in my Department alone who have been caught by it. It
shouldn't be too big a hassle to turn off indenting (and hence output no
unnecessary whitespace) while inside <a> elements. Of course, I'm not trying
to implement XSLT ;-).

The question is, can anyone suggest any other element types where this behaviour
might be necessary?

> Otherwise, I'm tempted to do the simplest thing that conforms to the letter
> of the spec and make indent="yes" a null operation.

Please, no! Indenting is a godsend when trying to debug unexpected rendering
of HTML. I've spent too many hours trying to make sense of HTML documents that
are all on one line.

-- 
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand


 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.