[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: load-xquery-module(): Request for working code ex
Am 07.09.2019 um 04:00 schrieb Dimitre Novatchev dnovatchev@xxxxxxxxx:
Could someone please, provide a working code example of calling the standard XPath 3.1 functionB B load-xquery-module() ?
B B B <xsl:variable name="functx-module" select="load-xquery-module('http://www.functx.com', map { 'location-hints' : 'http://www.xqueryfunctions.com/xq/functx-1.0-doc-2007-01.xq' })"/> B B B <xsl:template name="xsl:initial-template" match="/"> B B B B B B B <xsl:sequence select="$functx-module?functions(xs:QName('functx:word-count'))?1('This is a test.')"/> B B B </xsl:template> </xsl:stylesheet> is one of the first I tried. Requires Saxon EE.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|