Re: func:function and func:result
"Michael Kay" <[email protected]> Mon, 23 Nov 2009 12:04:49 -0000
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <2A66B05813184C9FA98CF1507C940EA4@Sealion> |
> 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