Finished default values

And added childExists function on XMLElement