W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 1999

Re: meaning of "contain" in the XSLT spec

From: James Clark <jjc@jclark.com>
Date: Sat, 02 Oct 1999 08:16:37 +0700
Message-ID: <37F55CF5.12105493@jclark.com>
To: David Carlisle <davidc@nag.co.uk>
CC: xsl-list@mulberrytech.com, xsl-editors@w3.org
David Carlisle wrote:
 
> I think `contains' when applied to elements _does_ consistently refer to
> child relationship.
> 
> When applied to other things than XSL elements it necessarily means
> something else. In the case of `stylesheet' and `template' it is taken
> as meaning textually contained within. (note stylesheet is not the same
> as xsl:stylesheet element, and similarly for template)
> 
> The confusion of xsl:attribute is I think was not one of child or
> descendent, but over which tree the relationship is being expressed:
> the xsl stylesheet tree or the result tree being built.

Exactly.  If you come across uses of "contains" that are inconsistent
with this, please inform xsl-editors@w3.org.

James
Received on Friday, 1 October 1999 21:53:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT