CL_DomAttr CL_DomElement::get_attribute_node_ns(
	const CL_DomString &namespace_uri,
	const CL_DomString &local_name) const
{
	if (impl)
	{
		CL_DomNamedNodeMap attributes = get_attributes();
		CL_DomAttr attribute = attributes.get_named_item_ns(namespace_uri, local_name).to_attr();
		return attribute;
	}
	return CL_DomAttr();
}
void CL_DomElement::set_attribute_ns(
	const CL_DomString &namespace_uri,
	const CL_DomString &qualified_name,
	const CL_DomString &value)
{
	if (impl)
	{
		CL_DomNamedNodeMap attributes = get_attributes();
		CL_DomAttr attribute = attributes.get_named_item_ns(namespace_uri, qualified_name).to_attr();
		if (attribute.is_attr())
		{
			attribute.set_node_value(value);
		}
		else
		{
			attribute = get_owner_document().create_attribute_ns(namespace_uri, qualified_name);
			attribute.set_node_value(value);
			attributes.set_named_item_ns(attribute);
		}
	}
}