xsl-list
[Top] [All Lists]

Re: Handling Mixed Child Elements and Text() Nodes

2003-10-01 21:24:49
From: Americo Albuquerque <melinor(_at_)zmail(_dot_)pt>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Thu, 2 Oct 2003 00:56:11 +0100
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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