Method: XSD::Element#fixed

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

#fixedObject

Optional. Specifies a fixed value for the element (can only be used if the element’s content is a simple type or text only)

Returns:

  • String, nil



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

property :fixed, :string