XMLHelperGetXmlNodeListByXpath Method |
选择匹配XPath表达式的节点列表XmlNodeList.
Namespace: Slickflow.Engine.UtilityAssembly: Slickflow.Engine (in Slickflow.Engine.dll) Version: 1.5.8.0 (1.5.8.0)
Syntaxpublic static XmlNodeList GetXmlNodeListByXpath(
XmlDocument xmlDoc,
string xpath
)
Parameters
- xmlDoc
- Type: System.XmlXmlDocument
XML文档 - xpath
- Type: SystemString
要匹配的XPath表达式(例如:"//节点名//子节点名")
Return Value
Type:
XmlNodeList返回的XmlNodeList
See Also