XmlHelper Methods |
The XmlHelper type exposes the following members.
Name | Description | |
---|---|---|
ConvertToString(Object) | ||
ConvertToString(Object, Type) | ||
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.
| |
RemoveIllegalCharacters |
Removes illegal characters from the given string (i.e. all non-printable characters except \t, \r, \n).
| |
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 |
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.
|