Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

Generic Identifiers

All specifications are concerned with semantics, and XML is no exception. In the case of elements, the semantic game is played with the terms we use to refer to elements within a document.

As we mentioned before, an element is actually the entire instance in an XML document, including the start tag, content, and end tag. However, we refer to elements by the moniker in the tag, or the element type. For example:

<name>Stella Ryan</name> 

Here, the element is the <name> tag, followed by the Stella Ryan name, and the </name> tag. This is the element instance. The element type in this case is name, which is also called the generic identifier. This is how elements are commonly referenced. For example, in talking about this element, ...

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

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book