[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Handling Mixed Child Elements and Text() Nodes


Subject: Re: [xsl] Handling Mixed Child Elements and Text() Nodes
From: Brook Ellingwood <brook@xxxxxxxxxxx>
Date: Wed, 01 Oct 2003 21:24:49 -0700

> From: Americo Albuquerque <melinor@xxxxxxxx>
> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Thu, 2 Oct 2003 00:56:11 +0100
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Subject: RE: [xsl] Handling Mixed Child Elements and Text() Nodes
> 
> You probably are using msxml that has the nasty habbit of stripping
> spaces from the xml source.
> Add xml:space="preserve" to your <text> element

That's it. I'd completely forgotten about the default XML attributes, as
I've never had a reason to use them. I hate having to put processing
instructions in the XML, but it's better than the other alternatives I was
considering. 

Thanks.

-- Brook


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml