forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Noels" <stev...@outerthought.org>
Subject RE: Proposal: alternative for book.xml
Date Sun, 17 Mar 2002 15:43:18 GMT
For the less Schema-inclined, here is a more or less equivalent DTD for
the same grammar:

<!ELEMENT sitemap (node | (leaf | external | import))*>
<!ELEMENT node (node | (leaf | external | import))*>
<!ATTLIST node
  label CDATA #REQUIRED
  uri CDATA #REQUIRED
>
<!ELEMENT leaf EMPTY>
<!ATTLIST leaf
  label CDATA #REQUIRED
  uri CDATA #REQUIRED
>
<!ELEMENT external EMPTY>
<!ATTLIST external
  label CDATA #REQUIRED
  uri CDATA #REQUIRED
>
<!ELEMENT import EMPTY>
<!ATTLIST import
  src CDATA #REQUIRED
>

</Steven>


Mime
View raw message