{"id":103118,"date":"2019-03-07T04:40:00","date_gmt":"2019-03-06T20:40:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=0df1ddd2ea4176ec9f0f6cdcbebf31c5"},"modified":"2019-03-07T04:40:00","modified_gmt":"2019-03-06T20:40:00","slug":"java-xml-and-json-document-processing-for-java-se-part-1","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/03\/07\/java-xml-and-json-document-processing-for-java-se-part-1\/","title":{"rendered":"Java XML and JSON: Document processing for Java SE, Part 1"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>XML and JSON are important to me, and I&#8217;m grateful to Apress for letting me write an entire book about them. In this <strong>Java Q&amp;A<\/strong> post I will briefly introduce the second edition of my new book, <a href=\"http:\/\/javajeff.ca\/cgi-bin\/makepage.cgi?\/books#jxmlajson2e_\"  rel=\"nofollow\"><em>Java XML and JSON<\/em><\/a>.  I&#8217;ll also present two useful demos that I would have liked to include in the book if I&#8217;d had space for them.<\/p>\n<p>First, I&#8217;ll show you how to override Xalan, which is the standard XSLT implementation for Java 11, with an XSLT 2.0+ and XPath 2.0+-compatible alternative, in this case <a href=\"http:\/\/saxon.sourceforge.net\/\"  rel=\"nofollow\">SAXON<\/a>. Using SAXON for XSLT\/XPath makes it much easier to access features such as grouping, which I&#8217;ll also demonstrate. Next, I&#8217;ll show you two ways to convert XML to JSON with Jackson: the first technique is data binding, the second is tree traversal.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/3346229\/java-xml-and-json-document-processing-for-java-se-part-1.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>XML and JSON are important to me, and I&#8217;m grateful to Apress for letting me write an entire book about them. In this Java Q&amp;A post I will briefly introduce the second edition of my new book, Java XML and JSON.  I&#8217;ll also present two useful demos&#8230; <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/03\/07\/java-xml-and-json-document-processing-for-java-se-part-1\/\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":123,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"slim_seo":[],"_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","enabled":false}}},"categories":[451,2,7],"tags":[398,402,397,414,413,410,409,407,408,406,399,400,394,318,558,560,555,561,566,553,554,586,585,563,562,183,567,524,10,401,396,403,412,411,395,405,404,457,454,319,316],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-qPc","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/103118"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/users\/123"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/comments?post=103118"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/103118\/revisions"}],"predecessor-version":[{"id":103119,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/103118\/revisions\/103119"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=103118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=103118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=103118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}