Added XMLDocument constructor for const char*