private bool MatchesFrom(XPathNavigator item, XslTransformProcessor p) { if (this.from == null) { return(item.NodeType == XPathNodeType.Root); } return(p.Matches(this.from, item)); }
private bool MatchesCount(XPathNavigator item, XslTransformProcessor p) { if (this.count == null) { return(item.NodeType == p.CurrentNode.NodeType && item.LocalName == p.CurrentNode.LocalName && item.NamespaceURI == p.CurrentNode.NamespaceURI); } return(p.Matches(this.count, item)); }
bool MatchesFrom (XPathNavigator item, XslTransformProcessor p) { if (from == null) return item.NodeType == XPathNodeType.Root; else return p.Matches (from, item); }
bool MatchesCount (XPathNavigator item, XslTransformProcessor p) { if (count == null) return item.NodeType == p.CurrentNode.NodeType && item.LocalName == p.CurrentNode.LocalName && item.NamespaceURI == p.CurrentNode.NamespaceURI; else return p.Matches (count, item); }