TAILIEUCHUNG - XML Step by Step- P17
XML Step by Step- P17:Extensible Markup Language, or XML, is currently the most promising language for storing and exchanging information on the World Wide Web. Although Hypertext Markup Language (HTML) is presently the most common language used to create Web pages, HTML has a limited capacity for storing information. In contrast, because XML allows you to create your own elements, attributes, and document structure, you can use it to describe virtually any kind of information from a simple recipe to a complex database | 292 XML Step by Step The first and last verses in each stanza are placed in special elements named FIRSTVERSE and LASTVERSE. This allows you to format these verses differently than the other verses. The first verse will have a larger first letter and the last verse will be right justified rather than left. 2 Use your text editor s Save command to save the document on your hard disk assigning it the filename . xml version -- File Name -- xml-stylesheet type text css href POEM TITLE The Raven TITLE AUTHOR Edgar Allan Poe AUTHOR-BIO Edgar Allan Poe was an American writer who lived from 1809 to 1849. AUTHOR-BIO AUTHOR DATE 1845 DATE IMAGE STANZA FIRSTVERSE Once upon a midnight dreary while I pondered weak and weary FIRSTVERSE VERSE Over many a quaint and curious volume of forgotten lore 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 8212 VERSE LASTVERSE Only this and nothing more. LASTVERSE STANZA IMAGE STANZA FIRSTVERSE Ah distinctly I remember it was in the Chapter 9 Displaying XML Documents Using Advanced Cascading Style Sheets 293 bleak December FIRSTVERSE VERSE And each separate dying ember wrought its ghost upon the floor. VERSE VERSE Eagerly I wished the morrow 8212 vainly I had sought to borrow VERSE VERSE From my books surcease of sorrow 8212 sorrow for the lost Lenore 8212 VERSE VERSE For the rare and radiant maiden whom the angels name Lenore 8212 VERSE LASTVERSE Nameless here for evermore. LASTVERSE STANZA IMAGE STANZA FIRSTVERSE And the silken sad uncertain rustling of each purple curtain FIRSTVERSE VERSE Thrilled me 8212 filled me with fantastic terrors never felt before VERSE VERSE So that now to still the beating of my heart I stood repeating VERSE VERSE Tis some visitor entreating entrance at my chamber door 8212 VERSE VERSE Some late .
đang nạp các trang xem trước