<!-- root element--> <!-- the store can contain multiple albums -->
<!ELEMENT aexchange (store, album+)>
<!-- store the record came from -->
<!ELEMENT store EMPTY>
<!-- id and the store's name -->
<!ATTLIST store id ID #REQUIRED
name CDATA #IMPLIED>
<!-- album information -->
<!ELEMENT album (title, artist, producer*, label, manufacturer+, year, format+)>
<!-- unique identifier for album -->
<!ATTLIST album id ID #REQUIRED>
<!-- title of album -->
<!ELEMENT title (#PCDATA)>
<!-- performer of songs -->
<!ELEMENT artist (#PCDATA)>
<!-- producer of album -->
<!ELEMENT producer (#PCDATA)>
<!-- record label -->
<!ELEMENT label (#PCDATA)>
<!-- manufacturer of album formats -->
<!ELEMENT manufacturer (name, address?)>
<!-- name of entity -->
<!ELEMENT name (#PCDATA)>
<!-- address of entity -->
<!ELEMENT address (street*, city?, (state | province)?, zip?, country)>
<!-- street address containing number, street name, PO Box, etc. -->
<!ELEMENT street (#PCDATA)>
<!ELEMENT city (#PCDATA)>
<!ELEMENT state (#PCDATA)>
<!-- for UK addresses -->
<!ELEMENT province (#PCDATA)>
<!-- zip code -->
<!ELEMENT zip (#PCDATA)>
<!-- country is mandatory -->
<!ELEMENT country (#PCDATA)>
<!-- year the album was initally released -->
<!ELEMENT year (#PCDATA)>
<!-- format of the album -->
<!ELEMENT format EMPTY>
<!-- physical format of the album -->
<!-- i.e. LP, cassette, CD, etc. -->
<!ATTLIST format type CDATA #REQUIRED
price CDATA #IMPLIED>
|