Skip to Content
XML Development with Java™ 2
book

XML Development with Java™ 2

by Michael C. Daconta, Albert J. Saganich
October 2000
Intermediate to advanced content levelIntermediate to advanced
448 pages
9h 55m
English
Sams
Content preview from XML Development with Java™ 2

Components of XML

As stated in the section on the history of XML, XML is a formalization of rules for "marking up" documents with meta-data to convey extra information (the data's purpose) to the user. So, an XML-compliant document can be separated into markup and content. All markup starts with either an ampersand (&) or left angle bracket (<). There are six types of markup defined in XML. They are as follows: elements, attributes, comments, processing instructions, entity references, and CDATA sections.

  • Elements— Elements are the most common aspect of markup languages. An element is a logical construct of a document. A normal element is composed of start and end tags that surround content, other elements, or both. The tags of an element are ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Processing XML with Java™: A Guide to SAX, DOM, JDOM, JAXP, and TrAX

Processing XML with Java™: A Guide to SAX, DOM, JDOM, JAXP, and TrAX

Elliotte Rusty Harold
XML in a Nutshell, 3rd Edition

XML in a Nutshell, 3rd Edition

Elliotte Rusty Harold, W. Scott Means
Java & XML Data Binding

Java & XML Data Binding

Brett McLaughlin

Publisher Resources

ISBN: 0672316536Purchase book