public virtual XmlConfigElt ValueAt(string xPath)
 {
     if (XmlDoc == null)
     {
         return(new XmlConfigElt(xPath, null));
     }
     lock (typeof(XmlConfig)) {
         System.Xml.XmlNode node = XmlDoc.SelectSingleNode(xPath);
         if (node == null)
         {
             return(new XmlConfigElt(xPath, null));
         }
         System.Xml.XmlNodeReader nodeReader = new System.Xml.XmlNodeReader(node);
         nodeReader.Read();
         return(new XmlConfigElt(xPath, nodeReader.ReadElementString()));
     }
 }
		public virtual XmlConfigElt ValueAt (string xPath) {
			if ( XmlDoc == null )
				return (new XmlConfigElt (xPath, null)) ;
			lock (typeof (XmlConfig)) {
				System.Xml.XmlNode node =XmlDoc.SelectSingleNode (xPath) ;
				if ( node == null )
					return (new XmlConfigElt (xPath, null)) ;
				System.Xml.XmlNodeReader nodeReader =new System.Xml.XmlNodeReader (node) ;
				nodeReader.Read () ;
				return (new XmlConfigElt (xPath, nodeReader.ReadElementString ())) ;
			}
		}