Altova Mailing List Archives

Re: [xsl] XSLT 1.1 comments - the chocolate hobnob winner

From: Jeni Tennison <mail@---------------->
Date: 2/16/2001 6:06:00 AM
Hi Francis,

> But since you picked it up on this thread, while I'm don't think it
> answered the original challenge, you've certainly earned a "milk
> chocolate or plain?"

Oh no - I don't want that accolade, firstly because I don't think it
stands in the way of what you originally proposed:

> Here is a small but concrete proposal:
> [1] extend the xsl:script definition to specifically permit "xslt"
> as a value of the language attribute.
> [2] specify a binding to Mike Kay's *function and return elements*
> [1], but in the XSLT namespace, with behaviour exactly as in Saxon -
> ie it would transparently return any data type supported by XPath,
> now or future, or an RTF which could be converted implicitly to a
> node-set in standard XSLT 1.1 style.

(my emphasis) - if we use something like saxon:function and
saxon:return then we're absolutely fine. It's only if we try to coopt
xsl:template into service that we run into (a few) problems, but it's
still worthwhile to come up with a concrete proposal, either for
inclusion in xsl:script (if user-defined extension functions
eventually get supported in XSLT 1.1) or for just anywhere (if dynamic
introspection is somehow introduced instead).

If we try it out with a few well-intentioned implementers, then we'll
be in good stead come XSLT 2.0 ("2.6 Should Allow Authoring Extension
Functions in XSLT").  I want that 'should' to be 'will' - having good
experience will hopefully help to convince the WG.

And secondly because the hobnobs would ruin my figure.



Jeni Tennison

 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.