org.w3c.dom.TypeInfo.isDerivedFrom
method
public isDerivedFrom(typeNamespaceArg as String, typeNameArg as String, derivationMethod as Int) as Boolean
Description

Indicates whether this type derives from another schema type.

Parameters
  • typeNamespaceArg Base type namespace URI.
  • typeNameArg Base type name.
  • derivationMethod Derivation method mask.
Returns

True when this type is derived from the requested type.

Example
print(info.isDerivedFrom(null, "string", TypeInfo.DERIVATION_RESTRICTION))