From loren.cahlander at gmail.com Fri Feb 1 07:10:09 2013 From: loren.cahlander at gmail.com (Loren Cahlander) Date: Fri, 1 Feb 2013 09:10:09 -0600 Subject: [xquery-talk] Looking for an example - calling XQuery 3.0 function module from XSLT 3.0 Message-ID: Hello folks, I am playing with the latest version of Saxon from Saxonica and am looking for an example of calling a function from an XQuery 3.0 function module from XSLT 3.0. Has anyone out there done this yet? Thanks, Loren From mike at saxonica.com Mon Feb 4 01:23:15 2013 From: mike at saxonica.com (Michael Kay) Date: Mon, 04 Feb 2013 09:23:15 +0000 Subject: [xquery-talk] Looking for an example - calling XQuery 3.0 function module from XSLT 3.0 In-Reply-To: References: Message-ID: <510F7E03.5020106@saxonica.com> Here's a very simple test case from my test suite (though it uses XSLT 2.0 and XQuery 1.0): test.xsl test.xq: xquery version "1.0"; module namespace qf = "library.uri"; declare function qf:distinct-countries($root as document-node()) as xs:string* { distinct-values($root//city/@country) }; One word of advice, I would advise avoiding use of global variables in the query library. There are some unresolved bugs relating to use of global variables in separately compiled query libraries. I would also suggest, if you're having problems, it's best to say what you are doing and how it is failing. That way, it's easier to see where you are stuck and what information you need to help you move forward. It's even possible you've hit a bug - you're a little off-piste when you use extensions like this, so the risk of finding bugs is greater. Michael Kay Saxonica On 01/02/2013 15:10, Loren Cahlander wrote: > Hello folks, > > I am playing with the latest version of Saxon from Saxonica and am looking for an example of calling a function from an XQuery 3.0 function module from XSLT 3.0. Has anyone out there done this yet? > > Thanks, > Loren > > > > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk > From christian.gruen at gmail.com Tue Feb 5 13:24:12 2013 From: christian.gruen at gmail.com (=?ISO-8859-1?Q?Christian_Gr=FCn?=) Date: Tue, 5 Feb 2013 22:24:12 +0100 Subject: [xquery-talk] [ANN] BaseX 7.6: The XMLPrague Edition Message-ID: Hi all, we are excited to announce Version 7.6 of BaseX, which provides some fresh new features that will further boost your productivity: DATABASE LOCKING: - updates on different databases can now be executed in parallel and won't lock your read-only queries anymore: http://docs.basex.org/wiki/Transaction_Management XQUERY: - when errors are raised, the full stack trace is now returned - the EXPath Geo Module, Fetch Module and HTML Module have been added: http://docs.basex.org/wiki/Module_Library - the Validation, XSLT, Database and Profiling Module have been updated GUI: - error messages are now clickable and linked with the text editor - trace/profiling output is redirected to the info view in realtime Have fun with our new release! It is available at: http://basex.org/products/download/ Looking forward to your feedback, and seeing some of you in Prague, Christian BaseX Team, 2013