class LibXML::XML::Schema::Element

def array?

def array?
  max_occurs > 1
end

def elements

def elements
  type.elements
end

def max_occurs

def max_occurs
  @max
end

def min_occurs

def min_occurs
  @min
end

def required?

def required?
  !min_occurs.zero?
end