RE: running msxml3 from command line

Subject: RE: running msxml3 from command line
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 1 Aug 2000 09:42:04 +0100
> The reason that your stylesheet is breaking is that the newest MSXSL
> processor is more strictly conformant.  xsl:apply-templates 
> instructions may not contain PCDATA nodes (only xsl:with-param or xsl:sort

> element nodes) according to the spec.

Interesting interpretation! Are you relying on Appendix B (which uses a
notation that is not formally specified) or Appendix C (which is
non-normative)? Or is there something in the text that I missed?

> Since the xsl:apply-templates instruction has an
> xml:space="preserve" attribute in-scope, the whitespace nodes 
> surrounding the xsl:with-param instructions are preserved, and thus the
error.

I can't see anything in the XML spec that says xml:space="preserve"
overrides the normal rule that an element with element content (as distinct
from mixed content) may validly contain whitespace between the child
elements.

Mike Kay

> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread