def getAttributeString( element )
      attributes = ""
      if element.is_a?( REXML::Element ) and element.has_attributes?
         attributes = "("
         element.attributes.each { |name,value|
            attributes << "#{name}=#{value} "
         }
         attributes << ")"
      end
      attributes
    end
def getAttributeString( element )
      attributes = ""
      if element.is_a?( REXML::Element ) and element.has_attributes?
         attributes = "("
         element.attributes.each { |name,value|
            attributes << "#{name}=#{value} "
         }
         attributes << ")"
      end
      attributes
    end
Returns a string representation of the attributes of an XML element.