[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|