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