Nested structures in the Compact syntax

element SONG {
  element TITLE { text },
  element COMPOSER {
    element NAME {
      element GIVEN { text },
      element FAMILY { text }
    }
  }+,
  element PRODUCER {
    element NAME {
      element GIVEN { text },
      element FAMILY { text }
    }
  }*,
  element PUBLISHER { text }?,
  element LENGTH { text }?,
  element YEAR { text }?,
  element ARTIST { text }+
}

Previous | Next | Top | Cafe con Leche

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