Click or drag to resize
XmlExtensions Class
Extension methods for System.Xml classes.
Inheritance Hierarchy

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
public static class XmlExtensions

The XmlExtensions type exposes the following members.

Public methodStatic memberAddAttributes
Adds the given list of attributes to the XML node. Adds the attributes in alphabetic order to maintain stability of order.
Public methodStatic memberAddChildElements
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.
Public methodStatic memberAppendCData
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.
Public methodStatic memberToFormattedXmlString
Returns formatted XML content.
Public methodStatic memberWriteFormattedXmlToStream
Writes formatted XML content to given stream.
See Also