Use UNIX line endings consistently
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / XmlDataSourceNodeDescriptor.cs
index 3df2195fdddc9d335033f6efdd82aa7b1bcd2d60..f2dd42a7c4dafaa43e16239e6e742b787755aaf0 100644 (file)
@@ -33,11 +33,13 @@ using System;
 using System.Collections;
 using System.ComponentModel;
 using System.Xml;
+using System.Xml.XPath;
+using System.Xml.Schema;
 using AC = System.ComponentModel.AttributeCollection;
 
 namespace System.Web.UI.WebControls
 {
-       internal class XmlDataSourceNodeDescriptor: ICustomTypeDescriptor
+       internal class XmlDataSourceNodeDescriptor: ICustomTypeDescriptor, IXPathNavigable
        {
                XmlNode node;
                
@@ -117,6 +119,11 @@ namespace System.Web.UI.WebControls
                                return this;
                        return null;
                }
+
+               public XPathNavigator CreateNavigator ()
+               {
+                       return node.CreateNavigator();
+               }
        }
 }
 #endif