diff Xml/XmlTools.cs @ 26:14f3daf48ba5

Re #18 - Migrate XML handling methods to core utils * Make double parsing method public
author IBBoard <dev@ibboard.co.uk>
date Sat, 28 Mar 2009 20:37:40 +0000
parents 148edabc9c73
children 4ea1fc351533
line wrap: on
line diff
--- a/Xml/XmlTools.cs	Sat Mar 28 20:36:20 2009 +0000
+++ b/Xml/XmlTools.cs	Sat Mar 28 20:37:40 2009 +0000
@@ -49,7 +49,7 @@
 		/// <returns>
 		/// The value of the attribute as an double
 		/// </returns>
-		private double GetDoubleValueFromAttribute(XmlElement elem, string attributeName)
+		public static double GetDoubleValueFromAttribute(XmlElement elem, string attributeName)
 		{
 			double doubleVal = double.NaN;
 			string attribValue = elem.GetAttribute(attributeName);