XmlHelper MembersKentico 8.0 API Reference
The XmlHelper type exposes the following members.
Methods

  NameDescription
Public methodStatic memberGetAttributeValue(XmlNode, String)
Returns value of the specified attribute from the given node representing a form field.
Public methodStatic memberGetAttributeValue(XmlNode, String, String)
Returns value of the specified attribute from the given node representing a form field.
Public methodStatic memberGetXmlAttributes
Returns attributes as an array (0 - attribute name, 1 - value).
Public methodStatic memberGetXmlAttributeValue
Returns string value of the specified xml attribute.
Public methodStatic memberReadContentAsBase64
Reads the current content from the XML reader as Base64 value.
Public methodStatic memberReplaceNamespaceColon
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.
Public methodStatic memberSetXmlNodeAttributes(XmlNode,  String )
Sets (updates or inserts) xml attributes to specified xml node.
Public methodStatic memberSetXmlNodeAttributes(XmlNode,  String , Boolean)
Sets (updates or inserts) xml attributes to specified xml node.
Public methodStatic memberWriteDataTableToXml
Writes DataRow to Xml writer.
Public methodStatic memberWriteFileAsBase64
Writes the given physical file to the XML as Base64.
Public methodStatic memberXmlAttributeIsEmpty
Determines whether specified xml attribute is defined.
Back to Top
See Also