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

Re: converting XML to XML problem

Subject: Re: converting XML to XML problem
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Tue, 11 Nov 2003 13:32:39 -0800 (PST)
converting xml to xml
Hi Wendell,
Yes now I get what you were saying. But the white
space is before  
"&amp;" and not as "&   amp;" so I do not see any
reason why 

<xsl:text> &amp;</xsl:text> should not work the same
way as 
<xsl:text>&amp;</xsl:text>. 
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.
Thanks,
Abhi

--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> Abhi,
> 
> 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
> 
> "&
>       foo;"
> 
> 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.
> 
> Cheers,
> Wendell
> 

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

 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.