some utility methods for TXmlNode