Removed [1..$] in XmlDocument constructor