{"id":6517,"date":"2016-05-06T13:56:58","date_gmt":"2016-05-06T11:56:58","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=6517"},"modified":"2016-05-06T13:56:58","modified_gmt":"2016-05-06T11:56:58","slug":"oreilly-media-book-xquery-2nd-edition","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2016\/05\/06\/oreilly-media-book-xquery-2nd-edition\/","title":{"rendered":"O&#8217;Reilly Media book: XQuery, 2nd Edition"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/shop.oreilly.com\/product\/0636920035589.do\">http:\/\/shop.oreilly.com\/product\/0636920035589.do<\/a><\/li>\n<li><a href=\"http:\/\/www.datypic.com\/books\/xquery\/examples.html\">http:\/\/www.datypic.com\/books\/xquery\/examples.html<\/a>\u00a0\u2013 sample queries and XML files<\/li>\n<li><a href=\"http:\/\/www.xqueryfunctions.com\">http:\/\/www.xqueryfunctions.com<\/a><\/li>\n<\/ul>\n<p>I am executing the examples with Saxon (&#8220;Home Edition&#8221;), e.g.:<\/p>\n<pre>$ saxon net.sf.saxon.Query example0105.xqy<\/pre>\n<p>It does help though to have a more serious look at Saxon&#8217;s &#8220;using XQuery&#8221; (on the command line) documentation. There are quite a few command line options, and some of them may be of interest to you occasionally.<\/p>\n<p>Some (or even all?!?) sample XML files need to be made available by different names; these names get shown inside the files themselves. E.g. if\u00a0<code>example0101.xml<\/code> is not (also) available as <code>catalog.xml<\/code>, then\u00a0<code>example0105.xqy<\/code> will not work.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\u2026<\/td>\n<td><em>name needed by the queries<\/em><\/td>\n<\/tr>\n<tr>\n<td><code>example0101.xml<\/code><\/td>\n<td><code>catalog.xml<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>example0102.xml<\/code><\/td>\n<td><code>prices.xml<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>example0103.xml<\/code><\/td>\n<td><code>order.xml<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u2026<\/td>\n<td>\u2026<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/shop.oreilly.com\/product\/0636920035589.do http:\/\/www.datypic.com\/books\/xquery\/examples.html\u00a0\u2013 sample queries and XML files http:\/\/www.xqueryfunctions.com I am executing the examples with Saxon (&#8220;Home Edition&#8221;), e.g.: $ saxon net.sf.saxon.Query example0105.xqy It does help though to have a more serious look at Saxon&#8217;s &#8220;using XQuery&#8221; (on the command line) documentation. There are quite a few command line options, and some of them may be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666,732,733],"tags":[],"class_list":["post-6517","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-xpath","category-xquery"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1H7","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/6517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=6517"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/6517\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=6517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=6517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=6517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}