added attribute support on node and started XML file related code