RE: [XSLT2.0] use-when attribute on xsl:transform

If the xsl:transform element wasn't there then it wouldn't be a valid
stylesheet module and the xsl:import would fail. A mere technicality.

Michael Kay 

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of Colin 
> Paul Adams
> Sent: 14 November 2004 08:57
> To: public-qt-comments@w3.org
> Subject: [XSLT2.0] use-when attribute on xsl:transform
> 
> 
> I'm puzzled by this:
> 
> "If the xsl:stylesheet or xsl:transform element itself is effectively
> excluded, the effect is to exclude all the children of the
> xsl:stylesheet or xsl:transform element, but not the xsl:stylesheet or
> xsl:transform element or its attributes." 
> 
> I can't see what the effect of leaving the xsl:transform element
> itself (and it's attributes) has. How does this differ from just
> ignoring the element altogether?
> 
> (I guess that other attributes on the element have to be
> checked for errors, and any such errors reported, but I don't see why
> this might be important).
> -- 
> Colin Paul Adams
> Preston Lancashire
> 
> 

Received on Sunday, 14 November 2004 14:00:10 UTC