[XSL-LIST Mailing List Archive Home]
Re: [xsl] converting XML to XML problem
Subject: Re: [xsl] converting XML to XML problem|
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Tue, 11 Nov 2003 13:32:39 -0800 (PST)
Yes now I get what you were saying. But the white
space is before
"&" and not as "& amp;" so I do not see any
<xsl:text> &</xsl:text> should not work the same
The only thing that may happen is that there will be
an extra space in the output xml if I am correct.
Help me understand if you think I did not catch what
you are trying to say.
--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> If you compare the two examples, you will see that
> one has whitespace
> around the "&_amp;" character.
> "&_foo;" (without the _) is an entity reference
> (assuming, of course, it's
> been declared as such). But
> is not.
> The xsl:text instruction copies its data content to
> the output -- data
> content including whitespace. Whitespace is not
> stripped inside xsl:text;
> this is a feature. You need to mind that it doesn't
> create a bug.
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list