Everything2
Near Matches
Ignore Exact
Full Text
Everything2

document object model

created by funnytoes

(thing) by funnytoes (6 y) (print)   ?   (I like it!) 1 C! Sun Feb 25 2001 at 12:26:51

Work in progress

A document object model is an object model for documents. This provides a platform- and language-independent model for the programmatic control of information (data) presented as a document. As an object model, this manipulation is performed by invoking methods on objects, rather than by directly accessing the data contained within those objects.

The World Wide Web Consortium has defined two levels of model: DOM1 and DOM2. DOM2 supercedes DOM1. These object models apply to any data contained in valid HTML or well-formed XML documents. As XML is used to mark up just about any kind of data, the W3C Document Object Model has a very broad application.

A list of DOM1-compliant applications is here.

A list of DOM2-compliant applications is here.

The W3C's Document Object Model Level 2 (DOM2) splits the object model up into a number of discrete components. A DOMImplementation's "hasFeature" method can be queried to determine which features (components) are available from the following list (at version 2.0):

DOM2 is "namespace-aware". XML namespaces are defined in http://www.w3.org/TR/1999/REC-xml-names-19990114.

An XML namespace definition allows an application to define entity names that will not clash with entity names defined elsewhere through the use of namespaces. The application defines a namespace that is globally unique and then defines entity names within that namespace. A namespace is defined by a namespace URI. e.g.

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
where "http://www.w3.org/1999/XSL/Transform" is the namespace URI and "xsl" is the namespace prefix defined.

A qualified name consists of a namespace prefix, a colon and a local part. For example, "xsl:import" - "xsl" is the namespace prefix and "import" is the local part.

DOM2 does not require application be "namespace-aware". However, mixing use of namespace-extended methods with namespace-naive methods is not recommended (and could cause chaos and grief).

Nodes can be identified by their qualified name or their node name.


printable version
chaos

DOM2-Core There are some applications for which a GUI is just not powerful enough DOM2-XML Unified Modeling Language
Up the creek without an application DocumentFragment When people say "All-American", they seldom mean me. Letter of Resignation
ECMAScript XML Silverlight object model
Make pages using the Symbol font display correctly in Mozilla/Firefox XPath dom DOMException
Ho Chi Minh Trail Job applications with spelling errors will be thrown away edev: Writeuptype bugs, or how nate got stuck between two parentheses RSS feed
Visual Basic Object Properties namespace zen theme Frame
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
What you are reading:
The Lofoten Maelstrom
God is Dead
Sierpinski triangle
Arizona
Walk behind a woman
The Poet
Scotch egg
colcannon
E Train
kin altruism
Our sensei
How to calculate the day of the week for a given date
M.U.L.E.
New Writeups
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
calgon
Buffalo Bill by the pool(poetry)
gate
Anarchy is Order(idea)
ushdfgakjasgh
Scribeling(thing)
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
This page courtesy of The Everything Development Company