Re: meaning of "contain" in the XSLT spec

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.

David
(who of course has nothing to do with this at all really:-)

Received on Friday, 1 October 1999 12:37:10 UTC