- From: Norman Walsh <ndw@nwalsh.com>
- Date: Thu, 30 Oct 2008 10:28:26 -0400
- To: public-xml-processing-model-comments@w3.org
Received on Thursday, 30 October 2008 14:29:13 UTC
"Florent Georges" <fgeorges@fgeorges.org> writes:
> I wonder if this has been discussed yet here (about XSLT 2.0
> features,) but cannot find it. The current WD doesn't incude an
> initial-template option for the xslt step. Is there a way to set the
> initial template?
Sure it does:
...
<p:option name="template-name"/>
...
The invocation of the transformation is controlled by the
initial-mode and template-name options that set the initial mode
and/or named template in the XSLT transformation where processing
begins. It is a dynamic error (err:XC0056) if the specified initial
mode or named template cannot be applied to the specified
stylesheet.
Or do I missunderstand the question?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | As a general rule, the most successful
http://nwalsh.com/ | man in life is the man who has the best
| information.--Benjamin Disraeli
Received on Thursday, 30 October 2008 14:29:13 UTC