O'Reilly logo

Managing Writers by Richard Hamilton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

18.2. Key Concepts

Three key concepts lie behind both SGML and XML: schemas, semantic markup, and data independence. [11] I will take a look at these three concepts in turn, using the following example, which is a fragment of DocBook XML taken from the beginning of this section:

Example 18.1 – DocBook Example
<?xml version="1.0" encoding="utf-8"?>
<epigraph xml:id="RFQuote">
  <attribution>
    <personname>
      <firstname>Richard</firstname>
      <surname>Feynman</surname>
    </personname>
  </attribution>
  <para>
    For a successful technology, reality must take
    precedence over public relations, for Nature
    cannot be fooled.
  </para>
</epigraph>
        

18.2.1. Schemas

A schema defines an SGML or XML grammar. There is no single method for documenting schemas. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required