[Bug 9734] default initial template

https://www.w3.org/Bugs/Public/show_bug.cgi?id=9734

--- Comment #7 from Michael Kay <mike@saxonica.com> 2012-06-29 10:35:07 UTC ---
The approach in comment #6 has some appeal. We would be able to say that if
initial-template="yes" is present, there must be no contained parameters. We
could even require a child xsl:context-item element with mandatory "required"
and "as" attributes to enforce a bit of discipline on stylesheet authors.

I'm not sure we should prevent such a template also having "name" and/or
"match" attributes if required. They would be useful because they would allow
the stylesheet to be invoked using APIs that do not yet support the
initial-template mechanism, for example the Ant invocation API.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 29 June 2012 10:35:11 UTC