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

Re: xsl:preserve-space, xml:space

Subject: Re: xsl:preserve-space, xml:space
From: John Robert Gardner <jrgardn@xxxxxxxxx>
Date: Sat, 27 Nov 1999 20:53:43 -0500 (EST)
space xml
I hesitate to suggest, but I've been using the following (from E.R.
Harold's XML BIble):
	<foo xml:space="preserve">bar</foo>

Note-- if you use a DTD, MSIE 5 requires a declaration of both options for
the attribute, (preserve | default)

hope it helps,

jr

=-=-=-=-=-=-=-=-=-==-=-=-=
John Robert Gardner, Ph.D.
ATLA-CERTR
Emory University
------------------------------------------------------------
http://vedavid.org/diss/
"If there is something you're thinking of doing, or wish you could do,
begin it.  In boldness there is mystery and power . . . . "  _Goethe

On Sat, 27 Nov 1999, Wolfgang May wrote:

> Hi,
> 
> I try to obtain an XML file with indentation (using xt). Currently, I
> try it with xml:space (the source xml-file has
> 
>  < ...  xml:space="yes">
> 
> in the start tag of the root node) and xsl:preserve-space (by 
> 
>   <xsl:preserve-space elements="*"/> 
> 
> on top-level of the stylesheet) but without any success. It seems to
> be ignored. Is this implemented in xt? Are there any examples out
> there illustrating the use of these attributes? Are there other
> attributes which have to be used for indentation by whitespace
> preservation from the source XML file and the stylesheet?
> 
> THX
> Wolfgang
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.