50 references to Node
System.Private.Xml (50)
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (2)
150if (!frame.Node!.HasChildren) 155frame.InitNewNodeSet(frame.Node.SelectChildren(XPathNodeType.All));
System\Xml\Xsl\XsltOld\CopyAction.cs (6)
59if (Processor.IsRoot(frame.Node!)) 66if (processor.CopyBeginEvent(frame.Node!, _empty) == false) 76if (frame.Node!.NodeType == XPathNodeType.Element) 83if (frame.Node!.NodeType == XPathNodeType.Element && !_empty) 92if (processor.CopyTextEvent(frame.Node)) 105if (processor.CopyEndEvent(frame.Node!))
System\Xml\Xsl\XsltOld\CopyAttributesAction.cs (11)
35if (!frame.Node!.HasAttributes || frame.Node.MoveToFirstAttribute() == false) 46Debug.Assert(frame.Node!.NodeType == XPathNodeType.Attribute); 48if (SendBeginEvent(processor, frame.Node) == false) 58Debug.Assert(frame.Node!.NodeType == XPathNodeType.Attribute); 60if (SendTextEvent(processor, frame.Node) == false) 70Debug.Assert(frame.Node!.NodeType == XPathNodeType.Attribute); 72if (SendEndEvent(processor, frame.Node) == false) 82Debug.Assert(frame.Node!.NodeType == XPathNodeType.Attribute); 84if (frame.Node.MoveToNextAttribute()) 91frame.Node.MoveToParent();
System\Xml\Xsl\XsltOld\CopyNamespacesAction.cs (8)
32if (frame.Node!.MoveToFirstNamespace(XPathNamespaceScope.ExcludeXml) == false) 43Debug.Assert(frame.Node!.NodeType == XPathNodeType.Namespace); 45if (processor.BeginEvent(XPathNodeType.Namespace, null, frame.Node.LocalName, frame.Node.Value, false) == false) 55Debug.Assert(frame.Node!.NodeType == XPathNodeType.Namespace); 67Debug.Assert(frame.Node!.NodeType == XPathNodeType.Namespace); 69if (frame.Node.MoveToNextNamespace(XPathNamespaceScope.ExcludeXml)) 76frame.Node.MoveToParent();
System\Xml\Xsl\XsltOld\CopyNodeSetAction.cs (6)
49if (SendBeginEvent(processor, frame.Node!) == false) 59XPathNodeType nodeType = frame.Node!.NodeType; 68if (SendTextEvent(processor, frame.Node) == false) 82if (frame.Node!.HasChildren) 84processor.PushActionFrame(GetAction(), frame.Node.SelectChildren(XPathNodeType.All)); 99if (SendEndEvent(processor, frame.Node!) == false)
System\Xml\Xsl\XsltOld\NumberAction.cs (5)
235XPathNavigator endNode = frame.Node!; 271else if (MatchCountKey(processor, frame.Node!, sel.Current!)) 293if (MatchCountKey(processor, frame.Node!, sel.Current!)) 417XPathNavigator contextNode = frame.Node!; // context of xsl:number element. We using this node in MatchCountKey() 418XPathNavigator countNode = frame.Node!.Clone(); // node we count for
System\Xml\Xsl\XsltOld\Processor.cs (1)
118return frame?.Node;
System\Xml\Xsl\XsltOld\RootAction.cs (1)
271Debug.Assert(Processor.IsRoot(frame.Node!));
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (10)
33? processor.Stylesheet.FindTemplate(processor, frame.Node!, this.mode) 34: importsOf.FindTemplateImports(processor, frame.Node!, this.mode); 39? processor.Stylesheet.FindTemplate(processor, frame.Node!) 40: importsOf.FindTemplateImports(processor, frame.Node!); 44action ??= BuiltInTemplate(frame.Node!); 115? processor.Stylesheet.FindTemplate(processor, frame.Node!, this.mode) 116: importsOf.FindTemplateImports(processor, frame.Node!, this.mode); 121? processor.Stylesheet.FindTemplate(processor, frame.Node!) 122: importsOf.FindTemplateImports(processor, frame.Node!); 126action ??= BuiltInTemplate(frame.Node!);