Simon St.Laurent wrote:
> Microsoft's done some weird things with whitespace in MSXML.
> By default, it strips blank whitespace nodes - which XML 1.0 suggests
> should be application behavior, not the default behavior of the parser.
Yeah. At one point, I recall, someone involved with developing MSXML
said that their (MS's) interpretation is that MSXML itself is not the
parser, or some such -- it's actually a downstream application with this
little bitty (well, all things are relative) parser built in up front.
You can control the behavior of the parser (i.e., intercept the
application's default behavior) only by using script. This is laid out
in one of my (cough) favorite pages in the MS XSLT Developer's Guide:
John E. Simpson | "When I was a little kid we had a sand
http://www.flixml.org | box. It was a quicksand box. I was an
XML Q&A: www.xml.com | only child... eventually." (Steven Wright)