public override void Evaluate(XslTransformProcessor p)
 {
     if (p.Debugger != null)
     {
         p.Debugger.DebugExecute(p, base.DebugInput);
     }
     if (this.select == null)
     {
         p.ApplyTemplates(p.CurrentNode.SelectChildren(XPathNodeType.All), this.mode, this.withParams);
     }
     else
     {
         XPathNodeIterator nodes = (this.sortEvaluator == null) ? p.Select(this.select) : this.sortEvaluator.SortedSelect(p);
         p.ApplyTemplates(nodes, this.mode, this.withParams);
     }
 }
        public override void Evaluate(XslTransformProcessor p)
        {
            if (p.Debugger != null)
            {
                p.Debugger.DebugExecute(p, this.DebugInput);
            }

            if (select == null)
            {
                p.ApplyTemplates(p.CurrentNode.SelectChildren(XPathNodeType.All), mode, withParams);
            }
            else
            {
                XPathNodeIterator iter = sortEvaluator != null?
                                         sortEvaluator.SortedSelect(p) :
                                             p.Select(select);

                p.ApplyTemplates(iter, mode, withParams);
            }
        }
Exemplo n.º 3
0
		public override void Evaluate (XslTransformProcessor p)
		{		
			if (p.Debugger != null)
				p.Debugger.DebugExecute (p, this.DebugInput);

			if (select == null)	
				p.ApplyTemplates (p.CurrentNode.SelectChildren (XPathNodeType.All), mode, withParams);
			else {
				XPathNodeIterator iter = sortEvaluator != null ?
					sortEvaluator.SortedSelect (p) :
					p.Select (select);
				p.ApplyTemplates (iter, mode, withParams);
			}
		}