XML Terminology and Markup Rules

Let’s take a look at the building blocks of an XML document and how they all fit together. As a designer, you might at first find some of the terminology a bit foreign. But stick with it and you’ll soon discover that XML is actually quite easy to understand. To keep it simple, only the most essential information you need to know for automating a layout is covered. For a deeper understanding of XML, I encourage you to study a book dedicated to the subject.

Markup. XML uses symbols, called markup, to identify the various parts of a document and determine how they relate to each other. The markup must follow certain syntax rules. An XML document that follows these rules is considered well-formed.

Element. The most ...

Get Instant InDesign: Designing Templates for Fast and Efficient Page Layout 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.