attribute_of(element, attribute)public
No documentation available.
# File lib/rexml/doctype.rb, line 85
def attribute_of element, attribute
att_decl = find do |child|
child.kind_of? AttlistDecl and
child.element_name == element and
child.include? attribute
end
return nil unless att_decl
att_decl[attribute]
end