swh:1:snp:ed2d467953071803b0382cac92a7b1b452fbb8ef
Raw File
Tip revision: 851214e7fac6fb15020e33fcf2b88b2e88382956 authored by Syd Bauman on 05 July 2013, 23:14:00 UTC
Re-tagging the 2.4.0 release of P5.
Tip revision: 851214e
testdocbook1.xml
<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
	<title>Testing Docbook and TEI</title>
	<author>Sebastian Rahtz and Norman Walsh</author>
      </titleStmt>
      <editionStmt>
	<edition>
	  <date>March 2004</date>
	</edition>
      </editionStmt>
      <publicationStmt>
	<authority>OUCS</authority>
	<address>
	  <addrLine>sebastian.rahtz@oucs.ox.ac.uk</addrLine>
	</address>
      </publicationStmt>
      <sourceDesc>
	<p>This is the master version of an original document.</p>
      </sourceDesc>
    </fileDesc>
  </teiHeader>
 <text>
<body>
<div>
<head>In normal TEI mode </head>

<p>Marley was dead: to begin with.  There is no doubt whatever
about that.  The register of his burial was signed by the
clergyman, the clerk, the undertaker, and the chief mourner. 
Scrooge signed it.  And Scrooge's name was good upon 'Change,
for anything he chose to put his hand to.  Old Marley was as
dead as a door-nail.</p>
</div>      
      

<div>
<head>Docbook QandA example</head>

<qandaset xmlns="http://docbook.org/docbook-ng" >
<qandaentry>
<question>
<para>
To be, or not to be?
</para>
</question>
<answer>
<para>
That is the question.
</para>
</answer>
</qandaentry>
</qandaset>

<p><qandaset xmlns="http://docbook.org/docbook-ng" >
<para>Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.</para>
<para>Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.</para>
    <qandadiv>
         <qandaentry>
           <question>
             <para>Blah blah blah.</para>
           </question>
	  <answer>
	    <example><info><title><filename>file.name</filename></title></info>
	      
	      <programlisting>// Hello, World</programlisting>
	    </example>
	    <example><info><title><filename>file2.name</filename></title></info>
	      
	      <programlisting>// Goodbye, World</programlisting>
	    </example>
	  </answer>
         </qandaentry>
    </qandadiv>
    <qandadiv>
<para>Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.</para>
<para>Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.
Some introductory preamble. Some introductory preamble.</para>
    <qandadiv>
         <qandaentry>
           <question>
             <para>Blah blah blah.</para>
           </question>
	  <answer>
	    <example><info><title><filename>file.name</filename></title></info>
	      
	      <programlisting>// Hello, World</programlisting>
	    </example>
	    <example><info><title><filename>file2.name</filename></title></info>
	      
	      <programlisting>// Goodbye, World</programlisting>
	    </example>
	  </answer>
         </qandaentry>
    </qandadiv>
    <qandadiv>
         <qandaentry>
           <question>
             <para>Blah blah blah.</para>
           </question>
	  <answer>
	    <example><info><title><filename>file.name</filename></title></info>
	      
	      <programlisting>// Hello, World</programlisting>
	    </example>
	    <example><info><title><filename>file2.name</filename></title></info>
	      
	      <programlisting>// Goodbye, World</programlisting>
	    </example>
	  </answer>
         </qandaentry>
    </qandadiv>
    </qandadiv>
       </qandaset>
</p>
</div>

  </body>
 </text>
</TEI>
back to top