Click or drag to resize
XmlHelperSetXmlNodeAttributes 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.XmlXmlNode
Xml node
attributes
Type: SystemString
Array of attributes (0 - name, 1 - value]) to set
insertEmpty (Optional)
Type: SystemBoolean
Indicates whether attributes with value "" (empty string) should be inserted to the XML
See Also