class Lutaml::Model::Xml::OxElement

def build_attributes(node)

def build_attributes(node)
  attrs = node.attributes.transform_values(&:value)
  node.own_namespaces.each_value do |namespace|
    attrs[namespace.attr_name] = namespace.uri
  end
  attrs
end