What Is XML?

XML stands for Extensible Markup Language. It is a meta language that can be used to define other languages. What that means is that XML does not have a predefined tag set or a grammar per se, thus making it fully extensible. It is merely a framework that provides the capability to create your own set of tags and the corresponding grammar. Therefore, when developing a language in XML, you can decide to create tags such as <carparts> or <engine>. The benefit you get in doing so is that you can make the tags content-oriented, in the sense that you can actually name the tags to represent the content that they store. Additionally, you can decide to create your own set of attributes for the tags to further qualify the contents. For example, ...

Get Java™ APIs for XML Kick Start 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.