[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Roots of the DTD (was: ANNOUNCE: Virtual Hyperglossary)
Peter Murray-Rust wrote: > This is a natural and (I believe) false assumption. A DTD need not have a > hierarchical structure, though most do. The following is acceptable: > <!ELEMENT A (#PCDATA)> > <!ELEMENT B (#PCDATA)> > <!ELEMENT C (#PCDATA)> > > It is then possible to have any of the following: > <!DOCTYPE A> <A>I am an A</A> > <!DOCTYPE B> <B>I am an B</B> > <!DOCTYPE C> <C>I am an C</C> > > It is one of the 5 myths (I think Eliot Kimber said this) that DOCTYPE > tells you what the document type is. It simply gives the root element and > the set of ELEMENTs that can be used. Hmmm. This sounds like the "root" (my syntax) or "RootElement" (Ron's syntax) attribute in XSchema is a Bad Thing. Perhaps it should be removed? -- John Cowan http://www.ccil.org/~cowan cowan@c... You tollerday donsk? N. You tolkatiff scowegian? Nn. You spigotty anglease? Nnn. You phonio saxo? Nnnn. Clear all so! 'Tis a Jute.... (Finnegans Wake 16.5) xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|