Click or drag to resize
XMLHelperDeleteAllXmlAttributeByXPath Method
删除匹配XPath表达式的第一个节点中的所有属性

Namespace: Slickflow.Engine.Utility
Assembly: Slickflow.Engine (in Slickflow.Engine.dll) Version: 1.5.8.0 (1.5.8.0)
Syntax
C#
public static bool DeleteAllXmlAttributeByXPath(
	string xmlFileName,
	string xpath
)

Parameters

xmlFileName
Type: SystemString
XML文档完全文件名(包含物理路径)
xpath
Type: SystemString
要匹配的XPath表达式(例如:"//节点名//子节点名

Return Value

Type: Boolean
成功返回true,失败返回false
See Also