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

Re: Designs for XSLT functions (Was: Re: RE: syntax su

Subject: Re: Designs for XSLT functions (Was: Re: RE: syntax sugar for call-template)
From: "Clark C. Evans" <cce@xxxxxxxxxxxxxx>
Date: Tue, 20 Feb 2001 12:42:00 -0500 (EST)
Re: Designs for XSLT functions (Was: Re:  RE: syntax su
> > > Perhaps xsl:for-each shouldn't be allowed directly within function
> > > definitions?  Can anyone come up with a use case where it's helpful to
> > > have it?
> > 
> > Saxon allows xsl:for-each with saxon:function, but doesn't allow
> > saxon:return within xsl:for-each.
> 
> I'd generalize this restriction to say
> 
> "It is an error for more than one exsl:result to be instantiated within the 
> body of an exsl:function"

Is it true that "exsl:return" largely emerged since there was
no way to return a specific node as part of a result fragment?

I was wondering, what about <exsl:reference-of select="node-set" />
It does introduce a "node reference" data type (perhaps simulated
as a string).  I guess this doesn't make it 1.0 compatible, however,
would this allow "exsl:return" to go away?

Clark


 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.