• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Java XML and JSON: What's new with XML  RSS feed

Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff Friesen,
More questions, but now about XML.

How has XML processing changed since the first version of the book? It's there new additions/improvements with the new versions of Java?
How XML is being used in the industry in the modern software development?

Is there any advice of When to favor XML over YAML, or other modern alternatives when writing tools or software intended to consume structured data representations?

Posts: 86
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jorge,

I don't think that XML processing has changed much since the first edition. If anything, I'd say that JSON is doing better than XML, and YAML is doing better than JSON. I say this based on the trend information for XML, JSON, and YAML at Google Trends (trends.google.com).

I haven't discovered anything new regarding XML in the Java SDK. Regarding XPath and XSLT, Java still supports only version 1.0 even though XPath and XSLT have evolved through subsequent versions. I've updated Chapter 6 to discuss installing SAXON in order to access post XSLT/XPath 1.0 features.

I think it is good to know XML for those times when you need to work with legacy software that includes XML. Otherwise, you might be better off focusing on JSON. I cannot speak for YAML because I haven't worked with it, and it's outside the scope of the book. Perhaps a third edition might be titled "Java XML and JSON and YAML et al." ;-).

Are we home yet? Wait, did we forget the tiny ad?
global solutions you can do at home or in your backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!