Subject: Re: xsl:preserve-space, xml:space From: John Robert Gardner <jrgardn@xxxxxxxxx> Date: Sat, 27 Nov 1999 20:53:43 -0500 (EST) |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
xsl:preserve-space, xml:space, Wolfgang May | Thread | Re: xsl:preserve-space, xml:space, John Robert Gardner |
Re: Strings and apostrophies, David Carlisle | Date | Re: xsl:preserve-space, xml:space, John Robert Gardner |
Month |