def explode_attr_qnames(ns_stack, attrs)
      Hash[attrs.map do |name, value|
             uq_name = explode_qname(ns_stack, name, true)
             local_part, prefix, uri = uq_name
             if !prefix || prefix==""
               [local_part, value]
             else
               [uq_name, value]
             end
           end]
    end
def explode_attr_qnames(ns_stack, attrs)
      Hash[attrs.map do |name, value|
             uq_name = explode_qname(ns_stack, name, true)
             local_part, prefix, uri = uq_name
             if !prefix || prefix==""
               [local_part, value]
             else
               [uq_name, value]
             end
           end]
    end
explode attribute QNames to [LocalPart, prefix, URI] triples,