Method: XSD::Element#abstract

Defined in:
lib/xsd/objects/element.rb

#abstractObject

Optional. Specifies whether the element can be used in an instance document. True indicates that the element cannot appear in the instance document. Instead, another element whose substitutionGroup attribute contains the qualified name (QName) of this element must appear in this element’s place. Default is false

Returns:

  • Boolean



64
# File 'lib/xsd/objects/element.rb', line 64

property :abstract, :boolean, default: false