Create parser in XmlDomDocument class.