Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - different results with internet explorer vs. msxsl.exe [Thread Next] Re: different results with internet explorer vs. msxsl.exeTo: NULL Date: 8/6/2004 12:05:00 AM Bill Davis wrote: > <?xml version="1.0" encoding="iso-8859-1"?> > <?xml-stylesheet type="text/xsl" href="vsimp.xsl"?> > <document> > <s3> > data > </s3> > </document> > Given that I have up to date versions of the msxml parser (AFAIK) and > that msxsl.exe is advertised to be a shell around the same XML engine > that IE uses I see these results as a real head-scratcher. Well, not really. Just different XML loading parameters. You forgot about whitespace-only text nodes - one after <document> tag and another after </s3> tag. When document is loaded with preserveWhiteSpace property set true, whitespace-only text nodes are preserved, otherwise - not (except where there is xml:space="preserve"). IE always discards insignificant whitespace, while msxsl.exe preserves it (according to XSLT spec). -- Oleg Tkachenko [XML MVP] http://blog.tkachenko.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
