XmlDOMImplementation.hasFeature

bool hasFeature(string feature, string version_) @safe

Tests if the DOM implementation implements a specific feature.

Parameters

featureThe name of the feature to test (e.g. "XML", "Core").
version_The version number of the feature to test.

Returns

true if the feature is implemented, false otherwise.