pass XmlEnd in xmlNode