14. Using XML

XML, the Extensible Markup Language, is derived from the Standard Generalized Markup Language (SGML). Hypertext Markup Language (HTML) is also a markup language derived from SGML. XML is similar in most ways to HTML, with the exception that, in XML, you can define your own tags. You are not constrained to a predefined set of markup tags as you are in HTML. XHTML is a version of HTML that is XML compliant.

XML is commonly used as a general format for interchanging data across servers and applications. Common uses of XML include in business-to-business processes or storage of complex data such as a word processor document or even graphics files.

XML has gained wide acceptance across all industries and programming languages. Most ...

Get Java™ Phrasebook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.