This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSL Transformations Requirements Version 1.1 - a crazy idea?


> The "Crazy Idea" thread from September 1999 came up with some
> interesting ideas for allowing extension functions in XSLT 
> itself 
> > 
> > Something like:
> > 
> > <xsl:function name="reverse" namespace:fn="www.redrice.com">

Take a look at <saxon:function> in the current release of Saxon, which does
just this.
 
> The trouble with that is that functions would only be able to return
> result tree fragments.

The <saxon:function> extension returns a value using <saxon:return>, so the
return value can be of any XPath data type.

Mike Kay
> 


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]