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

RE: Re: Preserve Whitespace with Mixed Content (Text a

Subject: RE: Re: Preserve Whitespace with Mixed Content (Text and Tags)
From: James.Whitehead-1@xxxxxxxxxxxx
Date: Fri, 13 May 2005 11:43:27 -0400
html preserve whitespace
Thanks very much for the suggestions! 
Message-Id: <iss.12c5.4284cb1e.d8de8.1@xxxxxxxxxxxxxxxxxx>

> I would guess that you are using MSXML? 
> Are you using Microsoft's XSLT processor? If so, the best advice is don't:

I am using the XMLSpy (2004 rel. 3) built in XSLT engine, as well as MSXML, 
with the same results.  The problem with xsl:preserve-space seems to be 
that it works on text-only nodes, and not on nodes with mixed content, 
such as in my case. I have no problem retaining the spaces in text-only 
nodes (e.g., <THD>   Blah Blah    </THD).

>The other question is, do you want white space in the HTML "source", or
> white space on the browser screen? 

I have no problem getting the browser to display the spaces if they are 
included in the html source.

Thanks again for any suggestions!

Jim

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.