September 2004
Intermediate to advanced
712 pages
24h 45m
English
The document in Example
2-1 is composed of a single element
named person. The
element is delimited by the start-tag
<person> and the
end-tag </person>. Everything between the
start-tag and the end-tag of the element (exclusive) is called the
element’s content . The content of this element is the text:
Alan Turing
The whitespace is part of the content, although many
applications will choose to ignore it. <person> and </person> are
markup . The string “Alan Turing” and its surrounding
whitespace are character data . The tag is the most common form of markup in an XML
document, but there are other kinds we’ll discuss later.
Read now
Unlock full access