In simple terms, a DOM is "Document OBJECT model".
It's a tree-structured hierarchy of objects that
comprise a document.
That's probably all you want for the glossary.
On the other hand...
...I have serious quarrels with what the w3c
chose to consider as an object, and the way the
tree is structured. (It's a nightmare to process.)
The Java version of DOM (JDOM) put together by
Jason Hunter and friends is a true OBJECT model,
where each object corresponds to an element
(xml tag). The "objects" in a DOM are much lower
level -- every attribute, bit of text, CDATA
section, and processing instruction is a separate
object, that hang from "element objects", that
are hardly deserving of the name. The resulting
tree is a mass of complexity, without much of
object-oriented grace to reccommend it.
On the other hand, the very simplicy of that
structure makes it easy to process in non-object
oriented languages. So my qualms are not with
the structure, but with calling it a Document
OBJECT Model. "Document Structure" would have
been a more fitting and appropriate name, in
my book.
"N. C a r r o l l" wrote:
>
> Putting up some OHS-related definitions at:
>
> http://bootstrap.org/ohs/faqs/glossary.html
>
> The definition of a DOM escapes me. Can anyone point
> me to a very brief definition, that would make sense
> to a resident of this planet? (Earth/Sol system)
>
> Nicholas
>
> --
> ______________________________________________________
>
> Email: ncarroll@inreach.com
> Alternate: ncarroll@iname.com
> ______________________________________________________
>
> eGroups Sponsor
> [Corbis - The Place for Pictures Online]
>
> Community email addresses:
> Post message: unrev-II@onelist.com
> Subscribe: unrev-II-subscribe@onelist.com
> Unsubscribe: unrev-II-unsubscribe@onelist.com
> List owner: unrev-II-owner@onelist.com
>
> Shortcut URL to this page:
> http://www.onelist.com/community/unrev-II
Community email addresses:
Post message: unrev-II@onelist.com
Subscribe: unrev-II-subscribe@onelist.com
Unsubscribe: unrev-II-unsubscribe@onelist.com
List owner: unrev-II-owner@onelist.com
Shortcut URL to this page:
http://www.onelist.com/community/unrev-II
This archive was generated by hypermail 2b29 : Thu Jan 04 2001 - 20:36:27 PST