Glossary
- Editors:
- Arnaud Le Hors, W3C
- Robert S. Sutor, IBM Research (for DOM Level 1)
Several of the following term definitions have been borrowed or
modified from similar definitions in other W3C or standards
documents. See the links within the definitions for more
information.
- document element
- There is only one document element in a
Document
.
This element node is a child of the Document
node. See
Well-Formed
XML Documents in XML [XML 1.0].
- document
order
- There is an ordering, document order, defined on all the
nodes in the document corresponding to the order in which the first
character of the XML representation of each node occurs in the XML
representation of the document after expansion of general entities.
Thus, the document
element node will be the first node. Element nodes occur
before their children. Thus, document order orders element nodes in
order of the occurrence of their start-tag in the XML (after
expansion of entities). The attribute nodes of an element occur
after the element and before its children. The relative order of
attribute nodes is implementation-dependent.
- partially valid
- A node in a DOM tree is partially valid if it is well formed (this
part is for comments and processing instructions) and its immediate
children are those expected by the content model. The node may be
missing trailing required children yet still be considered
partially valid.
- tokenized
- The description given to various information items (for
example, attribute values of various types, but not including the
StringType CDATA) after having been processed by the XML processor.
The process includes stripping leading and trailing white space,
and replacing multiple space characters by one. See the definition
of tokenized type.
- well-formed
document
- A document is well-formed if it is tag valid and
entities are limited to single elements (i.e., single
sub-trees).