A More Complex Example

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/css" href="song.css"?>
<!DOCTYPE SONG SYSTEM "intermediate_song.dtd">
<SONG CATEGORY="DISCO" ALBUM="The Best of the Village People">
  <TITLE>Hot Cop</TITLE>
  <COMPOSER>Jacques Morali</COMPOSER>
  <COMPOSER>Henri Belolo</COMPOSER>
  <COMPOSER>Victor Willis</COMPOSER>
  <PRODUCER>Jacques Morali</PRODUCER>
  <LYRICS_AVAILABLE/>
  <SHEET_MUSIC_AVAILABLE />
  <!-- The publisher is actually Polygram but I needed 
       an example of a general entity reference. -->
  <PUBLISHER URL="http://www.amrecords.com/">
    A &amp; M Records
  </PUBLISHER>
  <LENGTH>6:20</LENGTH>
  <YEAR>1978</YEAR>
  <ARTIST URL="http://www.officialvillagepeople.com/">Village People</ARTIST>
  <!-- an empty element -->
  <PHOTO SRC="hotcop.jpg" ALT="Victor Willis in Cop Outfit" 
         WIDTH="100" HEIGHT="200" />
  <DESCRIPTION>
    <!-- mixed content -->
    <PERSON>Victor Willis</PERSON>'s theme song is 
    one of the lesser known of the <ARTIST>Village People</ARTIST>'s
    <IRONIC>hits</IRONIC>, and <OPINION>deservedly so</OPINION>. 
    It never charted, <!-- need to verify this? --> 
    but they didn't have enough genuine 
    hits to fill a Best Of album, <OPINION>so some lesser numbers had 
    to be <METAPHOR>pulled out of the recycle bin</METAPHOR></OPINION>.
  </DESCRIPTION>
</SONG>
<!-- You can tell what album I was 
     listening to when I wrote this example -->

Previous | Next | Top | Cafe con Leche

Copyright 2002-2006 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified September 1, 2005