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

RE: XSLT 1.1 comments

Subject: RE: XSLT 1.1 comments
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 17:31:45 -0000
RE:  XSLT 1.1 comments
> <saxon:function> looks just right, now I've looked it up.
>
> And I'm just hoping and guessing - again without research -
> that implementing this feature is largely syntax-sugar - and if not,
> let's make it optional.
>
It wasn't difficult to implement but it wasn't pure syntactic sugar either.
There were three things that needed care: using positional arguments instead
of named arguments in the call; preventing the function writing to the
output tree; and ensuring that lazy evaluation of node-sets still worked in
the case where a node-set was returned from a function. But apart from the
questions of data typing mentioned earlier (and those are no worse than any
other implications of data typing on XSLT), I don't think there are any
reasons to regard the facility as being risky, or bad coding practice.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.