XmlHelper SetXmlNodeAttributes Method (XmlNode,  String , Boolean)Kentico 8.1 API Reference
Sets (updates or inserts) xml attributes to specified xml node.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

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