private static bool IsNameTest(Axis ast) { // Type = Element, abbrAxis = false // all are the same, has child:: or not return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.NodeType == XPathNodeType.Element)); }