|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: whitespace
>Is there any good way to control whitespace in the html output from
>msxml.dll, I'm pretty anal retentive and want my intents, blank lines and
>such :)
Without getting into XSL (let alone msxml.dll) at all, I'd say the only
"easy" way to do it is by using the same techniques available to you if you
were crafting the HTML by hand. (Remember that HTML is no respecter of
whitespace: all whitespace gets normalized to a single blank character.)
The options:
(1) Wrap it all in a <PRE> tag. Downside is the serviceable-but-ugly
monospace font.
(2) Terminate all lines with <BR>s and paragraphs with <P>s. For the
indents, unless you're using CSS, you're stuck with the same goofball
workarounds that HTML itself requires: using tables and single-pixel gifs.
=============================================================
John E. Simpson | It's no disgrace t'be poor,
simpson@xxxxxxxxxxx | but it might as well be.
| -- "Kin" Hubbard
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
|

Cart








