|
This DOM Level 3 method is defined, but is currently unimplemented by Arbortext Editor.
|
isDerivedFrom(typeNamespaceArg, typeNameArg, derivationMethod )
|
|
Parameters
|
StringtypeNamespaceArg
Specifies the namespace of the other type definition.
StringtypeNameArg
Specifies the name of the other type definition.
unsigned longderivationMethod
Specifies the type of derivation and conditions applied between two types, as described in the list of constants provided in this interface.
|
Returns
|
boolean. If the document's schema is a DTD or no schema is associated with the document, this method will always return false. If the document's schema is an XML Schema, the method will return true if the reference type definition is derived from the other type definition according to the derivation parameter. If the value of the parameter is 0 (no bit is set to 1 for the derivationMethod parameter), the method will return true if the other type definition can be reached by recursing any combination of {base type definition}, {item type definition}, or {member type definitions} from the reference type definition.
|