initial code

initial code
This commit is contained in:
CompoUK
2015-03-08 14:20:49 +00:00
parent 5658418d9e
commit 4f99e72bfe
12 changed files with 2324 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using System.Xml;
namespace MediaBrowser.Plugins.VuPlus.Helpers
{
public static class XmlHelper
{
public static XmlNode GetSingleNode(string input, string xPath)
{
var xml = new XmlDocument();
xml.LoadXml(input);
return xml.SelectSingleNode(xPath);
}
public static XmlNodeList GetMultipleNodes(string input, string xPath)
{
var xml = new XmlDocument();
xml.LoadXml(input);
return xml.SelectNodes(xPath);
}
}
}