CK wrote:
Would these relationships be explained in the w3C specifications?
Yes. See the HTML, XML, SGML, CSS and DOM related specs.
what would be the best method for creating the document tree diagrams?
Drawing diagrams requires some highly specialised equipment known as
pencil and paper.
To draw a tree diagram of an HTML document, just start with the root
element (or any convenient parent of the section you're interested in)
and then draw branches with one child at the end, and then repeat fo r.
e.g.
DD
+-DT
| +-#text
|
+-DD
| +-A
| +-#text
|
+-DT
| +-...
+-...
There's even a tree diagram showing the same kind of structure in the
CSS 2.1 spec.
http://www.w3.org/TR/CSS21/conform.html#user-agent
Alternatively, you can use the DOM inspector in Firefox which shows that
kind of structure for the entire document.
--
Lachlan Hunt
http://lachy.id.au/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************