XmlHelperSetXmlNodeAttributes Method |
Sets (updates or inserts) xml attributes to specified xml node.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax 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