This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: running msxml3 from command line
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: running msxml3 from command line
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 1 Aug 2000 09:42:04 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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