Technologies XML / ePUB / Open Publication Structure / Éléments sémantiques en ligne / Citations

(Extrait de «E-Books mit ePUB ─ Von Word zum E-Book mit XML» de Dr. Victor Wang)

Les citations peuvent être marquées comme blocs ou éléments en ligne:

Dans DTBook ils s’utilisent ainsi :

<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> 

Exemple de code : citations dans DTBook

Citations DTBook (Adobe Digital Editions)

Figure : citations DTBook (Adobe Digital Editions)

Dans XHTML l’exemple est presque identique, sans éléments de ligne ni marquage d’auteur :

<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> 

Exemple de code : citations dans XHTML

   

 

 

 

haut de page