Fw: func:function and func:result

Hermann Stamm-Wilbrandt <[email protected]> Mon, 23 Nov 2009 13:10:44 +0100
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <OFF576AA7F.7D27AFEA-ONC1257677.0042D1A4-C1257677.0042E66F@de.ibm.com>
Michael, thanks for the clarification!


Mit besten Gruessen / Best wishes,

Hermann Stamm-Wilbrandt
Developer, XML Compiler
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
----- Forwarded by Hermann Stamm-Wilbrandt/Germany/IBM on 11/23/2009 01:09
PM -----
                                                                           
             "Michael Kay"                                                 
             <[email protected]                                             
             m>                                                         To 
                                       Hermann                             
             11/23/2009 01:04          Stamm-Wilbrandt/Germany/IBM@IBMDE,  
             PM                        <[email protected]>                    
                                                                        cc 
                                                                           
                                                                   Subject 
                                       RE: [exslt] func:function and       
                                       func:result                         
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




> Saxon has a problem with it:

Saxon 9 does not support the EXSLT func:function declaration - it was
superseded by xsl:function in XSLT 2.0.

In principle if you set version="2.0" in your stylesheet, you can write
both
a func:function and an xsl:function version of your code: an XSLT 1.0
processor will ignore the xsl:function version, and a 2.0 processor will
ignore the func:function implementation.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay