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.
- 16-bit
unit
- The base unit of a
DOMString
. This indicates that
indexing on a DOMString
occurs in units of 16 bits.
This must not be misunderstood to mean that a
DOMString
can store arbitrary 16-bit units. A
DOMString
is a character string encoded in UTF-16;
this means that the restrictions of UTF-16 as well as the other
relevant restrictions on character strings must be maintained. A
single character, for example in the form of a numeric character
reference, may correspond to one or two 16-bit units.
- API
- An API is an Application Programming Interface, a set of
functions or methods used to access some functionality.
- 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.
- 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).