[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: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Thu, 03 Feb 2000 08:27:46 -0500
handling spaces in anchors
I would be sorry to see the ability to indent html disappear completely.
It doesn't matter so much for working code, but when debugging or
developing it's very useful to be able to read the output easily.

I think that determining indentation on a tag-by-tag basis would be one
useful way of handling this, and doesn't involve too much additional
overhead.  A new attribute on xsl:output, indent-elements, might be
worth considering for the next XSL, and could be pioneered in Saxon.

Another way of handling this would be to have a nonstandard attribute
value on 'indent': no|yes|force.  You could make 'yes' a null-op, and
keep the existing behaviour with 'force' (or 'debug').

The other possibility, which David Carlisle mentioned, is to follow the
newline-before-angle-bracket format.  This is better than no
indentation, but not as clear as the existing Saxon indentation.

While we're at it, I would like to have a 2-space-per-level indentation,
rather than 4, but now I'm probably pushing my luck...

 Steve


 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.