# Functions
CleanInvalid 去除XML文本中的无效字符。 CleanInvalid removes invalid characters from an XML string.
CreateXML 创建一个新的XML文档。 CreateXML creates a new XML document.
CreateXPath 创建一个新的XPath对象。 CreateXPath creates a new XPath object.
ElementText 根据节点名获得第一个子节点的文本值。 ElementText gets the text content of the first child element by tag name.
GetByXPath 通过XPath表达式获取XML节点。 GetByXPath gets XML nodes by an XPath expression.
GetElement 根据节点名获得第一个子节点。 GetElement gets the first child element by tag name.
GetElements 根据节点名获得子节点列表。 GetElements gets a list of child elements by tag name.
ParseXML 从字符串解析XML文档。 ParseXML parses an XML document from a string.
ReadObjectFromXML 从XML中读取对象。 ReadObjectFromXML reads an object from an XML file.
ReadXML 从文件读取XML文档。 ReadXML reads an XML document from a file.
ToFile 将XML文档写入文件。 ToFile writes an XML document to a file.
ToStr 将XML文档转换为字符串。 ToStr converts an XML document to a string.
TransElements 将NodeList转换为Element列表。 TransElements converts a NodeList to a list of Elements.
WriteObjectAsXML 将可序列化的对象转换为XML写入文件。 WriteObjectAsXML writes a serializable object to an XML file.