Choices

A song must have at least one of ARTIST, COMPOSER, or PRODUCER:

start =
  element SONG {
    element TITLE       { text },
    (element COMPOSER   { personContent }
     | element PRODUCER { personContent }
     | element ARTIST   { text })+,
    element PUBLISHER   { text }?,
    element LENGTH      { text }?,
    element YEAR        { text }?
  }
personContent =
  element NAME {
    element GIVEN    { text }
    & element FAMILY { text }
  }

Previous | Next | Top | Cafe con Leche

Copyright 2005, 2006 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified January 3, 2006