OScript API/Built-in Package Index

Class: DOMImplementation

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

Instance Methods

HasFeature( String feature, String version )

Test if the DOM implementation implements a specific feature.

Instance Methods

HasFeature

Boolean HasFeature( String feature,
                    String version )

Test if the DOM implementation implements a specific feature.

Parameters

feature

The string of the feature to test (case-insensitive). The legal values are defined throughout this specification. The string must be an XML name (see also Compliance).

version

This is the version number of the feature to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return true.

Returns:

True if the feature is implemented in the specified version, false otherwise.

 Copyright © 2023 OpenText Corporation. All rights reserved.