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

XSLT 2: 2.4 Executing a Transformation

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 4 Sep 2002 14:47:11 +0100
Message-Id: <200209041347.OAA30468@penguin.nag.co.uk>
To: public-qt-comments@w3.org


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? 


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Wednesday, 4 September 2002 09:47:19 GMT

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