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

Re: whitespace

Subject: Re: whitespace
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Mon, 25 Jan 1999 09:18:49 -0500
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


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.