Click or drag to resize
XMLHelperGetXmlNodeByXpath Method
选择匹配XPath表达式的第一个节点XmlNode.

Namespace: Slickflow.Engine.Utility
Assembly: Slickflow.Engine (in Slickflow.Engine.dll) Version: 1.5.8.0 (1.5.8.0)
Syntax
C#
public static XmlNode GetXmlNodeByXpath(
	XmlDocument xmlDoc,
	string xpath
)

Parameters

xmlDoc
Type: System.XmlXmlDocument
XML文档
xpath
Type: SystemString
要匹配的XPath表达式(例如:"//节点名//子节点名")

Return Value

Type: XmlNode
返回XmlNode
See Also