Locators in DTDs

<!ELEMENT WEBSITE (HOMESITE, MIRROR*) >
<!ATTLIST WEBSITE
 xmlns:xlink CDATA #FIXED "http://www.w3.org/XML/XLink/0.9"
 xlink:type  (simple|extended|locator|arc) #FIXED "extended"
 xlink:title CDATA  #IMPLIED
 xlink:role  CDATA  #IMPLIED
>

<!ELEMENT HOMESITE (#PCDATA)>
<!ATTLIST HOMESITE
  xlink:type (simple|extended|locator|arc) #FIXED "locator"
  xlink:href      CDATA                    #REQUIRED
  xlink:role      CDATA                    #IMPLIED
  xlink:title     CDATA                    #IMPLIED
>

<!ELEMENT MIRROR (#PCDATA)>
<!ATTLIST MIRROR
  xlink:type (simple|extended|locator|arc) #FIXED "locator"
  xlink:href      CDATA                    #REQUIRED
  xlink:role      CDATA                    #IMPLIED
  xlink:title     CDATA                    #IMPLIED
>

Previous | Next | Top | Cafe con Leche

Copyright 1999 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified August 20, 1999