At 2006-01-23 14:04 +0100, Geert Josten wrote:
T:\ftemp>xslt-msxsl josten.xml josten.xsl con
<?xml version="1.0" encoding="UTF-16"?><foo>
text.
</foo>
T:\ftemp>
Interesting, which version of MSXML are you using?
8.0.7002.0 (according to the version properties report of msxml.dll
in my c:\windows\system32 directory)
At 2006-01-23 14:02 +0100, Geert Josten wrote:
$ msxsl -xw wspace.xml wspace.xsl
<?xml version="1.0" encoding="utf-8"?><foo>
text.
</foo>
$ msxsl wspace.xml wspace.xsl
<?xml version="1.0" encoding="utf-8"?><foo>
text.
</foo>
So msxsl is not stripping whitespace by default? That would confirm
my statement.
You've got it backwards ... msxsl strips white-space-only text nodes
by default and is not preserving them, thus producing the different
results from Xalan, Saxon and most other processors which are
conformant in this regard.
I'm unfamiliar with David's incantations so I cannot comment on his arguments.
My incantation is a Windows Scripting Host script that is freely
downloadable from the "Free resources" link through our home page
linked in the trailer below. It just uses the currently loaded DLL.
I hope this helps.
. . . . . . . . Ken
--
Upcoming XSLT/XSL-FO hands-on courses: Denver,CO March 13-17,2006
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--