DOMImplementation methods

The DOMImplementation interface supports one method, hasFeature.

hasFeature(strFeature, strVersion) 
Returns  Boolean 
Description  Test if the DOM implementation implements a specific feature. . The allowed values for strFeature are `HTML' and `XML'. strVersion is the DOM version number to be tested against. 
Usage 
JScript  DOMImplementation.hasFeature("strFeature", "strVersion");  
VBScript  DOMImplementation.hasFeature("strFeature", "strVersion") 
Example 
// SoftQuad Script Language JSCRIPT:
// returns true
Application.alert(ActiveDocument.implementation("XML",
 "1.0"));  
// returns false
Application.alert(ActiveDocument.implementation("XML",
 "2.0"));  
 


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999