Refactor node type checks for attribute insertion
Refactor node type checks for attribute insertion

Add allow_insert_attribute (similar to allow_insert_child).

zeux/pugixml,zeux/pugixml,zeux/pugixml,zeux/pugixml