use xxxNS methods when inserting node and attributes in DOM