Name
getDOMImplementation: features(3)
Synopsis
Used to retrieve a DOMImplementation
object that matches
the space-separated list of features (and optional version
numbers) provided. DOM implementers are free to provide multiple
versions of the various DOM components, which developers can query
at runtime using this method. Most of the available features are
beyond the scope of this book; however, it is possible to request
a specific version of XML support by passing in a features
string such as the following:
"XML 3.0
“. This string would
request that a DOMImplementation
object that supports
Version 3.0 of the XML Core be returned. If no matching
implementation is available, the method returns null
.
Argument
- features: DOMString
The space-separated list of requested features and versions.
Java binding
public DOMImplementation getDOMImplementation(String features);
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.