From adam.retter at googlemail.com Wed Jan 7 04:32:27 2015 From: adam.retter at googlemail.com (Adam Retter) Date: Wed, 7 Jan 2015 12:32:27 +0000 Subject: [xquery-talk] O'Reilly eXist book is out Message-ID: I hope no one minds if I post this, but some of you may be interested to know the the eXist book [1] from O'Reilly is now out in print. It does not teach XQuery, but most of the code examples in the book are written in XQuery and it shows you how to work with eXist-db [2] using XQuery. [1] http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp [2] http://www.exist-db.org Cheers. Adam. -- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk From ihe.onwuka at gmail.com Wed Jan 7 04:55:57 2015 From: ihe.onwuka at gmail.com (Ihe Onwuka) Date: Wed, 7 Jan 2015 12:55:57 +0000 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: Got my copy a week ago - and it's now on my procrastination list. I really ha...er....envy people who can read technical books in 2 days. http://joewiz.org/2014/12/28/exist-the-indispensable-guide/ On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter wrote: > I hope no one minds if I post this, but some of you may be interested > to know the the eXist book [1] from O'Reilly is now out in print. > > It does not teach XQuery, but most of the code examples in the book > are written in XQuery and it shows you how to work with eXist-db [2] > using XQuery. > > [1] > http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp > [2] http://www.exist-db.org > > Cheers. Adam. > > -- > Adam Retter > > skype: adam.retter > tweet: adamretter > http://www.adamretter.org.uk > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.gruen at gmail.com Wed Jan 7 12:03:53 2015 From: christian.gruen at gmail.com (=?UTF-8?Q?Christian_Gr=C3=BCn?=) Date: Wed, 7 Jan 2015 21:03:53 +0100 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: Hi Adam, congratulations for the successful publication! Don't hesitate to advertise it wheresoever. Best, Christian On Wed, Jan 7, 2015 at 1:55 PM, Ihe Onwuka wrote: > Got my copy a week ago - and it's now on my procrastination list. > > I really ha...er....envy people who can read technical books in 2 days. > > http://joewiz.org/2014/12/28/exist-the-indispensable-guide/ > > On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter > wrote: >> >> I hope no one minds if I post this, but some of you may be interested >> to know the the eXist book [1] from O'Reilly is now out in print. >> >> It does not teach XQuery, but most of the code examples in the book >> are written in XQuery and it shows you how to work with eXist-db [2] >> using XQuery. >> >> [1] >> http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp >> [2] http://www.exist-db.org >> >> Cheers. Adam. >> >> -- >> Adam Retter >> >> skype: adam.retter >> tweet: adamretter >> http://www.adamretter.org.uk >> _______________________________________________ >> talk at x-query.com >> http://x-query.com/mailman/listinfo/talk > > > > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk From wcandillon at gmail.com Wed Jan 7 22:14:34 2015 From: wcandillon at gmail.com (William Candillon) Date: Wed, 7 Jan 2015 22:14:34 -0800 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: Congratulation Adam! On Wed, Jan 7, 2015 at 12:03 PM, Christian Gr?n wrote: > Hi Adam, > > congratulations for the successful publication! Don't hesitate to > advertise it wheresoever. > > Best, > Christian > > > On Wed, Jan 7, 2015 at 1:55 PM, Ihe Onwuka wrote: >> Got my copy a week ago - and it's now on my procrastination list. >> >> I really ha...er....envy people who can read technical books in 2 days. >> >> http://joewiz.org/2014/12/28/exist-the-indispensable-guide/ >> >> On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter >> wrote: >>> >>> I hope no one minds if I post this, but some of you may be interested >>> to know the the eXist book [1] from O'Reilly is now out in print. >>> >>> It does not teach XQuery, but most of the code examples in the book >>> are written in XQuery and it shows you how to work with eXist-db [2] >>> using XQuery. >>> >>> [1] >>> http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp >>> [2] http://www.exist-db.org >>> >>> Cheers. Adam. >>> >>> -- >>> Adam Retter >>> >>> skype: adam.retter >>> tweet: adamretter >>> http://www.adamretter.org.uk >>> _______________________________________________ >>> talk at x-query.com >>> http://x-query.com/mailman/listinfo/talk >> >> >> >> _______________________________________________ >> talk at x-query.com >> http://x-query.com/mailman/listinfo/talk > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk From dbtripledc at gmail.com Thu Jan 8 01:51:38 2015 From: dbtripledc at gmail.com (David Baird) Date: Thu, 8 Jan 2015 09:51:38 +0000 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: I bought mine today. Congratulations! Cheers! Dave On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter wrote: > I hope no one minds if I post this, but some of you may be interested > to know the the eXist book [1] from O'Reilly is now out in print. > > It does not teach XQuery, but most of the code examples in the book > are written in XQuery and it shows you how to work with eXist-db [2] > using XQuery. > > [1] > http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp > [2] http://www.exist-db.org > > Cheers. Adam. > > -- > Adam Retter > > skype: adam.retter > tweet: adamretter > http://www.adamretter.org.uk > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g at 28.io Thu Jan 8 01:52:36 2015 From: g at 28.io (Ghislain Fourny) Date: Thu, 8 Jan 2015 10:52:36 +0100 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: Hi Adam, Congratulations from me as well! :-) Kind regards, Ghislain On Thu, Jan 8, 2015 at 7:14 AM, William Candillon wrote: > Congratulation Adam! > > On Wed, Jan 7, 2015 at 12:03 PM, Christian Gr?n > wrote: >> Hi Adam, >> >> congratulations for the successful publication! Don't hesitate to >> advertise it wheresoever. >> >> Best, >> Christian >> >> >> On Wed, Jan 7, 2015 at 1:55 PM, Ihe Onwuka wrote: >>> Got my copy a week ago - and it's now on my procrastination list. >>> >>> I really ha...er....envy people who can read technical books in 2 days. >>> >>> http://joewiz.org/2014/12/28/exist-the-indispensable-guide/ >>> >>> On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter >>> wrote: >>>> >>>> I hope no one minds if I post this, but some of you may be interested >>>> to know the the eXist book [1] from O'Reilly is now out in print. >>>> >>>> It does not teach XQuery, but most of the code examples in the book >>>> are written in XQuery and it shows you how to work with eXist-db [2] >>>> using XQuery. >>>> >>>> [1] >>>> http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp >>>> [2] http://www.exist-db.org >>>> >>>> Cheers. Adam. >>>> >>>> -- >>>> Adam Retter >>>> >>>> skype: adam.retter >>>> tweet: adamretter >>>> http://www.adamretter.org.uk >>>> _______________________________________________ >>>> talk at x-query.com >>>> http://x-query.com/mailman/listinfo/talk >>> >>> >>> >>> _______________________________________________ >>> talk at x-query.com >>> http://x-query.com/mailman/listinfo/talk >> _______________________________________________ >> talk at x-query.com >> http://x-query.com/mailman/listinfo/talk > > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk From adam.retter at googlemail.com Thu Jan 8 02:59:18 2015 From: adam.retter at googlemail.com (Adam Retter) Date: Thu, 8 Jan 2015 10:59:18 +0000 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: Thank you very much for the congratulations, Christina, William, David and Ghislain. On 8 January 2015 at 09:52, Ghislain Fourny wrote: > Hi Adam, > > Congratulations from me as well! :-) > > Kind regards, > Ghislain > > > On Thu, Jan 8, 2015 at 7:14 AM, William Candillon wrote: >> Congratulation Adam! >> >> On Wed, Jan 7, 2015 at 12:03 PM, Christian Gr?n >> wrote: >>> Hi Adam, >>> >>> congratulations for the successful publication! Don't hesitate to >>> advertise it wheresoever. >>> >>> Best, >>> Christian >>> >>> >>> On Wed, Jan 7, 2015 at 1:55 PM, Ihe Onwuka wrote: >>>> Got my copy a week ago - and it's now on my procrastination list. >>>> >>>> I really ha...er....envy people who can read technical books in 2 days. >>>> >>>> http://joewiz.org/2014/12/28/exist-the-indispensable-guide/ >>>> >>>> On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter >>>> wrote: >>>>> >>>>> I hope no one minds if I post this, but some of you may be interested >>>>> to know the the eXist book [1] from O'Reilly is now out in print. >>>>> >>>>> It does not teach XQuery, but most of the code examples in the book >>>>> are written in XQuery and it shows you how to work with eXist-db [2] >>>>> using XQuery. >>>>> >>>>> [1] >>>>> http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp >>>>> [2] http://www.exist-db.org >>>>> >>>>> Cheers. Adam. >>>>> >>>>> -- >>>>> Adam Retter >>>>> >>>>> skype: adam.retter >>>>> tweet: adamretter >>>>> http://www.adamretter.org.uk >>>>> _______________________________________________ >>>>> talk at x-query.com >>>>> http://x-query.com/mailman/listinfo/talk >>>> >>>> >>>> >>>> _______________________________________________ >>>> talk at x-query.com >>>> http://x-query.com/mailman/listinfo/talk >>> _______________________________________________ >>> talk at x-query.com >>> http://x-query.com/mailman/listinfo/talk >> >> _______________________________________________ >> talk at x-query.com >> http://x-query.com/mailman/listinfo/talk -- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk From jeanmarc.mercier at gmail.com Thu Jan 8 23:51:19 2015 From: jeanmarc.mercier at gmail.com (jean-marc Mercier) Date: Fri, 9 Jan 2015 08:51:19 +0100 Subject: [xquery-talk] Question / Suggestion : Template mechanisms and operator overloading for XQUERY 3.++ ? Message-ID: Hello, I would like to discuss the opportunity to improve template programming and operator overloading for XQUERY ? 1) template programming : XQUERY provides a quite natural template mechanism using type switch and instance: declare function yell($animal) { if ($animal instance of element()) then return typeswitch($animal) case element(cow) return "Moo" default return "..." else "this is not an animal" }; I think that it could be worthwhile to provide such a mechanism directly at the interpreter level. For instance, the following code seems coherent and concise : declare function yell($animal as element(cow) ) {"Moo"} declare function yell($animal as element() ) {".."} declare function yell($animal ) {"This is not an animal"} As far as I understand, the previous code violates XQUERY functions identification, achieved through a couple (name, arity). Would it be difficult to extend this identification mechanism ? 2) A quite interesting application to 1) would be to define operator overloading Indeed, I don't know how to overload operators with XQUERY. For instance I would like to define something like declare function operator+($left,$right){fn:for-each-pair($left,$right, function($a + $b) { $a + $b } )} I know that I can survive writing declare function local:plus($left,$right){fn:for-each-pair($left,$right, function($a + $b) { $a + $b } )} but when one start to write algorithmic code, it is far easier and understandable to write $a+$b than array:plus($a,$b). Moreover, it can be used to expressions template, quite useful for linear algebra. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ihe.onwuka at gmail.com Thu Jan 22 15:06:16 2015 From: ihe.onwuka at gmail.com (Ihe Onwuka) Date: Thu, 22 Jan 2015 23:06:16 +0000 Subject: [xquery-talk] O'Reilly eXist book is out In-Reply-To: References: Message-ID: My favourite code snippet on page 288 for $hit in doc(.....) let..... On Wed, Jan 7, 2015 at 12:32 PM, Adam Retter wrote: > I hope no one minds if I post this, but some of you may be interested > to know the the eXist book [1] from O'Reilly is now out in print. > > It does not teach XQuery, but most of the code examples in the book > are written in XQuery and it shows you how to work with eXist-db [2] > using XQuery. > > [1] > http://www.jdoqocy.com/click-7654993-11290546?sid=&url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920026525.do%3Fcmp%3Daf-webplatform-books-videos-product_cj_auwidget636_0636920026525_%25zp > [2] http://www.exist-db.org > > Cheers. Adam. > > -- > Adam Retter > > skype: adam.retter > tweet: adamretter > http://www.adamretter.org.uk > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: