Основы XML

Пример 7.10

<?xml version="1.0"?>

<!-- File Name: Raven02.xml -->

<?xml-stylesheet type="text/css" href="Raven02.css"?>


<TITLE>The Raven</TITLE> <AUTHOR>Edgar Allan Poe</AUTHOR> <DATE>1845</DATE>

<IMAGE /> <STANZA> <VERSE>Once upon a midnight dreary, while I pondered, weak and weary,</VERSE> <VERSE>Over many a quaint and curious volume of forgotten lore&amp;amp;#8212;</VERSE> <VERSE>While I nodded, nearly napping, suddenly there came a tapping,</VERSE> <VERSE>As of some one gently rapping, rapping at my chamber door.</VERSE> <VERSE>"'Tis some visitor," I muttered, "tapping at my chamber door&amp;amp;#8212;</VERSE> <VERSE>Only this, and nothing more."</VERSE> </STANZA>

<IMAGE /> <STANZA> <VERSE>Ah, distinctly I remember it was in the bleak December,</VERSE> <VERSE>And each separate dying ember wrought its ghost upon the floor.</VERSE> <VERSE>Eagerly I wished the morrow;&amp;amp;#8212;vainly I had sought to borrow</VERSE> <VERSE>From my books surcease of sorrow&amp;amp;#8212;sorrow for the lost Lenore&amp;amp;#8212;</VERSE> <VERSE>For the rare and radiant maiden whom the angels name Lenore&amp;amp;#8212;</VERSE> <VERSE>Nameless here for evermore.</VERSE> </STANZA>


Листинг 7.10. Raven02.xml

Закрыть окно

Содержание  Назад  Вперед