[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: converting XML to XML problem
Hi Wendell, Yes now I get what you were saying. But the white space is before "&" and not as "& amp;" so I do not see any reason why <xsl:text> &</xsl:text> should not work the same way as <xsl:text>&</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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|