N
- name
Any object in XML has a type specifier called a name. For example, an element that describes the title of a book might be given the name "booktitle". The representation of the element must include the name in both its start and end tags, like this:
<booktitle>Wart Removal</booktitle
Names in XML must obey rules about character composition. For example, element names must start with either an underscore or a letter. See also attribute, element, markup.
- namespace
Any of a group of specified elements and attributes that can be used in a document by prefixing a namespace identifier to an element's name, e.g., <namespace:element>. Namespaces must be declared using the xmlns declaration. The following syntax is used for a namespace declaration:
<xmlns:name=uri>
The name of the namespace is given by name, and the location of the namespace maintainer or version is given by uri (though parsers usually don't do anything with this information). Namespaces allow you to mix different sets of element definitions in a single document, for example, using mathematical equations in an HTML document. See also element, qualified element name.
- namespace prefix
The identifier preceding an element's name that indicates the namespace it belongs to; for example, <namespace:element>. See also element, qualified element name, namespace.
- node
This term comes from the realm of computer science, where it's used to describe a point in an abstract network of connected items. In XML, it refers to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access