test of XMLDocument