Link Search Menu Expand Document

XmlDOMImplementation.HasFeature Method

Explanation Checks if it corresponds to the version specified by the version of the function specified by feature.
Not supported in Mobile, AI
Call format var ret = domImpl.HasFeature( feature, version )
Return value $TRUE if the specified version is supported , $FALSE if not supported
Arguments String feature Function to check the version
Corresponds to "xml" and "dom".
String version Supported version ( Please specify in "1.0" format)
Exception None
Example of use
    if (!domimpl.HasFeature("dom", "2.0")) {
        print("DOM Level2 not handled\n");
    }
    
Related item CreateDocument method