XmlExtensions Class |
Namespace: CMS.Helpers
public static class XmlExtensions
The XmlExtensions type exposes the following members.
Name | Description | |
---|---|---|
AddAttributes |
Adds the given list of attributes to the XML node. Adds the attributes in alphabetic order to maintain stability of order.
| |
AddChildElements |
Adds the collection of values into the XML element, each value as a nested element. Ensures the alphabetic order of the values in the element.
| |
AppendCData |
Appends CDATA sections to the XML element based on the input text. If the text already contains CDATA tags, the text is split into corresponding number of CDATA sections in place of the CDATA end tags.
| |
ToFormattedXmlString |
Returns formatted XML content.
| |
WriteFormattedXmlToStream |
Writes formatted XML content to given stream.
|