Click or drag to resize
XMLHelperDeleteXmlAttributeByXPath Method
删除匹配XPath表达式的第一个节点中的匹配参数xmlAttributeName的属性

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 DeleteXmlAttributeByXPath(
	string xmlFileName,
	string xpath,
	string xmlAttributeName
)

Parameters

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

Return Value

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