Still no language-independent means to create
a new Document
object
Does provide an implementation-independent method for Java only:
DOMImplementation impl = DOMImplementationRegistry.getDOMImplementation("XML");
package org.w3c.dom;
public class DOMImplementationRegistry {
// The system property to specify the DOMImplementationSource class names.
public static String PROPERTY = "org.w3c.dom.DOMImplementationSourceList";
public static DOMImplementation getDOMImplementation(String features)
throws ClassNotFoundException, InstantiationException, IllegalAccessException;
public static void addSource(DOMImplementationSource s)
throws ClassNotFoundException, InstantiationException, IllegalAccessException;
}