Click or drag to resize
XmlHelper.SetXmlNodeAttributes Method
Sets (updates or inserts) xml attributes to specified xml node.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static void SetXmlNodeAttributes(
	XmlNode node,
	string[,] attributes,
	bool insertEmpty = true
)

Parameters

node
Type: System.Xml.XmlNode
Xml node
attributes
Type:System.String[,]
Array of attributes (0 - name, 1 - value]) to set
insertEmpty (Optional)
Type: System.Boolean
Indicates whether attributes with value "" (empty string) should be inserted to the XML
See Also