{"id":1904,"date":"2011-03-02T23:01:00","date_gmt":"2011-03-02T22:01:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2011\/03\/02\/oreilly-media-book-xpath-and-xpointer\/"},"modified":"2023-01-01T12:09:51","modified_gmt":"2023-01-01T11:09:51","slug":"oreilly-media-book-xpath-and-xpointer","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2011\/03\/02\/oreilly-media-book-xpath-and-xpointer\/","title":{"rendered":"O&#8217;Reilly Media book: XPath and XPointer"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/oreilly.com\/catalog\/9780596002916\/\">http:\/\/oreilly.com\/catalog\/9780596002916\/<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/examples.oreilly.com\/9780596002916\/xpathxpointer.txt\">http:\/\/examples.oreilly.com\/9780596002916\/xpathxpointer.txt<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/library.oreilly.com\/book\/9780596002916\/xpath-and-xpointer\/toc\">https:\/\/library.oreilly.com\/book\/9780596002916\/xpath-and-xpointer\/toc<\/a>&nbsp;(for owners only)<\/li>\n\n\n\n<li><a href=\"https:\/\/learning.oreilly.com\/library\/view\/xpath-and-xpointer\/0596002912\/\">https:\/\/learning.oreilly.com\/library\/view\/xpath-and-xpointer\/0596002912\/<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/commons.oreilly.com\">http:\/\/commons.oreilly.com<\/a>&nbsp;\u2013 the&nbsp;O&#8217;Reilly Commons wiki<\/li>\n\n\n\n<li><a href=\"http:\/\/commons.oreilly.com\/wiki\/index.php\/XPath_and_XPointer\">http:\/\/commons.oreilly.com\/wiki\/index.php\/XPath_and_XPointer<\/a>&nbsp;\u2013 the&nbsp;book is also available online and for free<\/li>\n<\/ul>\n\n\n\n<div>Update 2011-03-05:<\/div>\n\n\n\n<div>Happily acquired the PDF e-book.<br \/>Lots of nice XPath examples \u2026 \u2013 now: practice, practice, practice!Update 2011-03-09:<br \/>This book is also available online and for free <a href=\"http:\/\/commons.oreilly.com\/wiki\/index.php\/XPath_and_XPointer\">here<\/a>, on the <a href=\"http:\/\/commons.oreilly.com\/\">O&#8217;Reilly <i>Commons<\/i> wiki<\/a>.<\/div>\n\n\n\n<div>&nbsp;<\/div>\n\n\n\n<div>Update 2016-02-19:<br \/>I really like exercising the examples (for the URL see above!) using xmlstartlet. Instead of writing a script in Perl or Python or even some code in Java, nowadays (and for quite a while) you can process XML in a shell script using xmlstartlet, and this books shows you the way.<\/div>\n\n\n\n<div>I am rewriting an &#8220;old&#8221; shell script that dealt with XML using fgrep and sed; of course with using proper XPath through xmlstartlet is so much more appropriate. Quite possibly the next step may be to replace &#8220;shell + XPath&#8221; with &#8220;Python + XPath&#8221;.<\/div>\n\n\n\n<div>My shell script actually enquires Jenkins (CI), and Jenkins also offers a JSON interface, and nowadays you would deal with that using JQ, which is a little like XPath for JSON.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Update 2011-03-05: Happily acquired the PDF e-book.Lots of nice XPath examples \u2026 \u2013 now: practice, practice, practice!Update 2011-03-09:This book is also available online and for free here, on the O&#8217;Reilly Commons wiki. &nbsp; Update 2016-02-19:I really like exercising the examples (for the URL see above!) using xmlstartlet. Instead of writing a script in Perl or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[732],"tags":[],"class_list":["post-1904","post","type-post","status-publish","format-standard","hentry","category-xpath"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-uI","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1904","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=1904"}],"version-history":[{"count":3,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1904\/revisions"}],"predecessor-version":[{"id":12259,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1904\/revisions\/12259"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=1904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=1904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=1904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}