Re: meaning of "contain" in the XSLT spec

Subject: Re: meaning of "contain" in the XSLT spec
From: James Clark <jjc@xxxxxxxxxx>
Date: Sat, 02 Oct 1999 08:16:37 +0700
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@xxxxxxx

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread