[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 2006-01-23 14:04 +0100, Geert Josten wrote:
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:
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
Re: [xsl] Unable to get text() of node
Subject: Re: [xsl] Unable to get text() of node From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 23 Jan 2006 08:13:12 -0500 |
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@xxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unable to get text() of n, Geert Josten | Thread | Re: [xsl] Unable to get text() of n, David Carlisle |
Re: [xsl] simple xslt question, ret, Hardy Merrill | Date | Re: [xsl] Unable to get text() of n, Geert Josten |
Month |