[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What is exciting in XSLT 2.0 (Was: Re: para

Subject: Re: What is exciting in XSLT 2.0 (Was: Re: parameters in XSLT 2.0)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 9 Jun 2005 06:11:13 +1000
xsl custom function
On 6/8/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > Yes, I know this, and use them quite a bit in my stylesheets.  I was
> > referring to the higher-order functions that Dmitre is
> > interested in.
> > The FXSL docs assume a fairly specific audience that is not me.
>
> Consider two important bits of functionality that are present in XSLT 2.0
> but not in XQuery 1.0: analyze-string and for-each-group. These needed
> custom syntax in XSLT 2.0: they couldn't be implemented as standard
> functions, because they are higher-order - they take functions (or
> instructions) as their arguments. It's difficult to define custom syntax in
> XQuery, which is why these facilities were omitted. But with higher-order
> functions, you can implement these facilities without any new syntax, and
> indeed I have done so for the benefit of XQuery users: see
>
>
http://www.saxonica.com/documentation/extensions/functions/analyze-string.ht
> ml
>
>
http://www.saxonica.com/documentation/extensions/functions/for-each-group.ht
> ml
>
> Michael Kay
> http://www.saxonica.com/


Excelent idea Mike!

As I have already implemented some XSLT instructions and even XPath
features (the f:xsltSort() and f:attributes() functions), I'll look
into the possibilities of defining functions based on
xsl:for-each-group and xsl:analyze-string


Cheers,
Dimitre Novatchev.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.