Adding elevateNode as minidom extension method and modifying calls
fixed bad calls of removeAllAttributes