Name
TypeInfo(3)
Synopsis
Starting with the DOM Level 3, Element
and Attr
nodes include a schemaTypeInfo
attribute that may
reference a TypeInfo
object.
For valid XML documents, this object is used to provide
information about the declared data type for a given element or
attribute. Since the DOM is intended to be parser-independent, the
contents of this object will vary depending on the type of schema
validation that was performed (XML DTD, XML Schema, RELAX NG, and
so forth). The DOM Level 3 Core specification includes detailed
information about the significance of the typeName
and typeNamespace
attributes for both DTDs
and XML Schemas.
Attributes
The TypeInfo
object
contains the following attributes:
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.