In Saxon PE/EE you can use saxon:import-query to import an XQuery library module into XSLT, and you can then call the XQuery functions as if they were XSLT functions. See http://www.saxonica.com/documentation/extensions/instructions/import-query.xml

(Sorry for the lack of examples!)

xsl:function is a standard XSLT 2.0 feature and therefore available with Saxon-HE.

Michael Kay
Saxonica


On 18/09/2012 03:03, Darin McBeath wrote:
Perhaps, this is a dumb question but all of the examples I've seen for using xquery are either from the command line or from java.  I haven't seen any examples from within xslt.  I could probably use xsl:function but was wondering about xquery.  If it's possible, it would be great to see an example.  Also, does xsl:function come with HE or would I need PE or EE?

Thanks.

Darin.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help