|
|
@@ -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
|