This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XInclude in Cocoon
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XInclude in Cocoon
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 9 Feb 2001 08:58:17 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> The XInclude spec defines a way to express inclusions, but makes no
> prescriptions of the semantics of such inclusions. An XSLT
> processor can
> choose to expand the include or pass it on, and in both cases
> be conformant to XInclude and XSLT.
I'm not sure it would be conformant to XSLT. The XSLT spec leaves no room to
treat xinclude:include as anything other that a literal result element, if
it appears in the source tree. You could argue that XSLT says nothing about
how the source tree is created, and therefore it doesn't care whether
xinclude is expanded during a preprocessing phase; and I suppose you could
argue that no conformance test can tell the difference...
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list