XmlHelper Class |
Namespace: CMS.Helpers
public static class XmlHelper
The XmlHelper type exposes the following members.
Name | Description | |
---|---|---|
GetAttributeValue(XmlNode, String) |
Returns value of the specified attribute from the given node representing a form field.
| |
GetAttributeValue(XmlNode, String, String) |
Returns value of the specified attribute from the given node representing a form field.
| |
GetXmlAttributes |
Returns attributes as an array (0 - attribute name, 1 - value).
| |
GetXmlAttributeValue |
Returns string value of the specified xml attribute.
| |
ReadContentAsBase64 |
Reads the current content from the XML reader as Base64 value.
| |
ReplaceNamespaceColon |
Replaces the namespace colons (:) in the XML from the input XML reader with the dash (-) and writes the resulting XML using the output XML writer.
E.g. atom:item element is translated to atom-item element.
| |
SetXmlNodeAttributes(XmlNode, String) |
Sets (updates or inserts) xml attributes to specified xml node.
| |
SetXmlNodeAttributes(XmlNode, String, Boolean) |
Sets (updates or inserts) xml attributes to specified xml node.
| |
WriteDataTableToXml |
Writes DataRow to Xml writer.
| |
WriteFileAsBase64 |
Writes the given physical file to the XML as Base64.
| |
XmlAttributeIsEmpty |
Determines whether specified xml attribute is defined.
| |
XMLDecode |
Converts a string that has been XML encoded into a decoded string.
| |
XMLEncode |
XML encoding function.
|