protected override HierarchicalDataSourceView GetHierarchicalView (string viewPath)
{
XmlNode doc = this.GetXmlDocument ();
XmlNodeList ret = null;
if (!String.IsNullOrEmpty (viewPath)) {
XmlNode n = doc.SelectSingleNode (viewPath);
if (n != null)
ret = n.ChildNodes;
} else if (!String.IsNullOrEmpty (XPath)) {
ret = doc.SelectNodes (XPath);
} else {
ret = doc.ChildNodes;
}
return new XmlHierarchicalDataSourceView (ret);
}