Home | History | Annotate | Download | only in docs
      1 <?xml version="1.0"?>
      2 <!DOCTYPE iddemo [
      3 <!ELEMENT iddemo (head?, (chapter)*)>
      4 <!ATTLIST iddemo id ID #IMPLIED>
      5 <!ELEMENT head (title?, (p)*)>
      6 <!ATTLIST head id ID #IMPLIED>
      7 <!ELEMENT chapter (title?, (p | image)*)>
      8 <!ATTLIST chapter id ID #IMPLIED>
      9 <!ELEMENT image EMPTY>
     10 <!ATTLIST image href CDATA #IMPLIED>
     11 <!ELEMENT title (#PCDATA)>
     12 <!ELEMENT p (#PCDATA)>
     13 ]>
     14 
     15 <iddemo>
     16   <head>
     17    <title>Welcome to Gnome</title>
     18   </head>
     19   <chapter id="chapter1">
     20    <title>The Linux adventure</title>
     21    <p>bla bla bla ...</p>
     22    <image href="linus.gif"/>
     23    <p>...</p>
     24    <p>third p</p>
     25    <p>fourth p</p>
     26   </chapter>
     27   <chapter id="chapter2">
     28    <title>Chapter 2</title>
     29    <p>this is chapter 2 ...</p>
     30   </chapter>
     31   <chapter id="chapter3">
     32    <title>Chapter 3</title>
     33    <p>this is chapter 3 ...</p>
     34   </chapter>
     35   <chapter id="chapter4">
     36    <title>Chapter 4</title>
     37    <p>this is chapter 4 ...</p>
     38   </chapter>
     39   <chapter id="chapter5">
     40    <title>Chapter 5</title>
     41    <p>this is chapter 5 ...</p>
     42   </chapter>
     43 </iddemo>
     44