Re: meaning of "contain" in the XSLT spec

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 UTC