Ejemplo n.º 1
0
 private bool MatchesFrom(XPathNavigator item, XslTransformProcessor p)
 {
     if (this.from == null)
     {
         return(item.NodeType == XPathNodeType.Root);
     }
     return(p.Matches(this.from, item));
 }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 3
0
		bool MatchesFrom (XPathNavigator item, XslTransformProcessor p)
		{
			if (from == null)
				return item.NodeType == XPathNodeType.Root;
			else
				return p.Matches (from, item);
		}
Ejemplo n.º 4
0
		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);
		}