C# Class WSSAT.BusinessLayer.Utils

显示文件 Open project: YalcinYolalan/WSSAT

Public Methods

Method Description
RemoveNamespaces ( System.Xml.Linq.XDocument oldXml ) : System.Xml.Linq.XDocument

Remove all xmlns:* instances from the passed XmlDocument to simplify our xpath expressions

RemoveNamespaces ( string oldXml ) : System.Xml.Linq.XDocument

Remove all xmlns:* instances from the passed XmlDocument to simplify our xpath expressions

UnescapeString ( string escapedString ) : string

Converts a string that has been HTML-enconded for HTTP transmission into a decoded string.

Method Details

RemoveNamespaces() public static method

Remove all xmlns:* instances from the passed XmlDocument to simplify our xpath expressions
public static RemoveNamespaces ( System.Xml.Linq.XDocument oldXml ) : System.Xml.Linq.XDocument
oldXml System.Xml.Linq.XDocument
return System.Xml.Linq.XDocument

RemoveNamespaces() public static method

Remove all xmlns:* instances from the passed XmlDocument to simplify our xpath expressions
public static RemoveNamespaces ( string oldXml ) : System.Xml.Linq.XDocument
oldXml string
return System.Xml.Linq.XDocument

UnescapeString() public static method

Converts a string that has been HTML-enconded for HTTP transmission into a decoded string.
public static UnescapeString ( string escapedString ) : string
escapedString string String to decode.
return string