W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2002

RE: XSLT 2: 2.4 Executing a Transformation

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Wed, 4 Sep 2002 21:45:46 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453DB18@daemsg02.software-ag.de>
To: David Carlisle <davidc@nag.co.uk>, public-qt-comments@w3.org

David Carlisle:

> 2.4.1 says:
> 
> When stylesheet execution starts, a document node is
> implicitly created for the result tree 
> 
> 
> Which more or less matches the XSLT 1 behaviour.
> But is that now the right model? In particular it seems to 
> imply that the principal result tree is never empty.
> 
> If one arranges that the initial template just generates 
> secondary result trees it is in fact often useful not to 
> generate any principal output at all.
> 
> Couldn't the implicit creation of a root node be fired when 
> something is inserted into the principal result tree rather 
> than by stylesheet execution? 

This proposal is almost identical to one that the WG is currently
considering.

Thanks for the input.

Michael Kay
Received on Wednesday, 4 September 2002 15:46:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:23 GMT