internal virtual XMLList MatchDescendantChildren(XMLList rv, XML target) { rv.SetTargets(target, null); AddDescendantChildren(rv, target); return rv; }
internal virtual void AddMatches(XMLList rv, XML target) { if (IsDescendants()) { AddDescendants(rv, target); } else { if (IsAttributeName()) { AddAttributes(rv, target); } else { XML[] children = target.GetChildren(); if (children != null) { for (int i = 0; i < children.Length; i++) { if (this.Matches(children[i])) { rv.AddToList(children[i]); } } } rv.SetTargets(target, this.ToQname()); } } }
internal virtual XMLList MatchDescendantAttributes(XMLList rv, XML target) { rv.SetTargets(target, null); AddDescendantAttributes(rv, target); return rv; }