XML technologies / ePUB / Open Publication Structure / Semantic inline elements / Quotations

(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)

Quotations can be marked as a block or an inline element:

In DTBook these can be used as follows:

<p><strong>Blockzitat:</strong> Faust (siehe <cite>Goethe, Faust 1</cite>) war der folgenden Meinung:</p>
<blockquote>
   <linegroup>
       <line>Habe nun, ach! Philosophie,</line>
       <line>Juristerei und Medizin,</line>
       <line>Und leider auch Theologie</line>
       <line>Durchaus studiert, mit heißem Bemühn.</line>
       <line>Da steh ich nun, ich armer Tor!</line>
       <line>Und bin so klug als wie zuvor;</line>
   </linegroup>
   <author>Johann Wolfgang von Goethe</author>
</blockquote>
<p><strong>Inlinezitat:</strong> Mephisto sagte dazu, dass <q cite="Goethe, Faust 1">"das den meisten Leuten so ginge"</q>.</p> 

Code example: Quotations in DTBook

DTBook quotations (Adobe Digital Editions)

Figure: DTBook quotations (Adobe Digital Editions)

In XHTML the example is nearly identical, except for missing line elements and author markup:

<p><strong>Blockzitat:</strong> Faust (siehe <cite>Goethe, Faust 1</cite>) war der folgenden Meinung:</p>
<blockquote>
   <p>Habe nun, ach! Philosophie,</p>
   <p>Juristerei und Medizin,</p>
   <p>Und leider auch Theologie</p>
   <p>Durchaus studiert, mit heißem Bemühn.</p>
   <p>Da steh ich nun, ich armer Tor!</p>
   <p>Und bin so klug als wie zuvor;</p>
   <div class="Autor">Johann Wolfgang von Goethe</div>
</blockquote>
<p><strong>Inlinezitat:</strong> Mephisto sagte dazu, dass <q cite="Goethe, Faust 1">"das den meisten Leuten so ginge"</q>.</p> 

Code example: Quotations in XHTML

   

 

 

 

back to top