lib/ess/element.rb
##
# Objects of this class represent the various tags available in ESS
#
Objects of this class represent the various tags available in ESS
Objects of this class represent the various tags available in ESS
def check_child_tags
        if @dtd.include? :tags
          @dtd[:tags].each_pair do |tag_name, tag_desc|
            check_mandatory_child_tag(tag_name) if tag_desc[:mandatory]
            check_child_tag_cardinality(tag_name, tag_desc[:max_occurs])
          end
          run_validate_for_each_child_tag
        end
      end
def check_child_tags if @dtd . include? :tags @dtd [ :tags ] . each_pair do | tag_name , tag_desc | check_mandatory_child_tag ( tag_name ) if tag_desc [ :mandatory ] check_child_tag_cardinality ( tag_name , tag_desc [ :max_occurs ] ) end run_validate_for_each_child_tag end end
Objects of this class represent the various tags available in ESS
Objects of this class represent the various tags available in ESS