C# Class ApprovalUtilities.Xml.XmlUtils

Mostra file Open project: approvals/ApprovalTests.Net

Public Methods

Method Description
FormatXml ( string xml, bool safe ) : string
FormatXmlWithOrderedAttributes ( string xml ) : string
SortAttributes ( System.Xml.Linq.XElement xElement ) : void

Method Details

FormatXml() public static method

public static FormatXml ( string xml, bool safe ) : string
xml string
safe bool
return string

FormatXmlWithOrderedAttributes() public static method

public static FormatXmlWithOrderedAttributes ( string xml ) : string
xml string
return string

SortAttributes() public static method

public static SortAttributes ( System.Xml.Linq.XElement xElement ) : void
xElement System.Xml.Linq.XElement
return void