Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NextNode()

bool System.Xml.Xsl.XsltOld.ActionFrame.NextNode ( Processor proc)
inlinepackage

Definition at line 286 of file ActionFrame.cs.

287 {
288 bool flag = _nodeSet.MoveNext();
289 if (flag && proc.Stylesheet.Whitespace)
290 {
292 if (nodeType == XPathNodeType.Whitespace)
293 {
295 bool flag2;
296 do
297 {
299 xPathNavigator.MoveToParent();
300 flag2 = !proc.Stylesheet.PreserveWhiteSpace(proc, xPathNavigator) && (flag = _nodeSet.MoveNext());
301 nodeType = _nodeSet.Current.NodeType;
302 }
303 while (flag2 && nodeType == XPathNodeType.Whitespace);
304 }
305 }
306 return flag;
307 }

References System.Xml.Xsl.XsltOld.ActionFrame._nodeSet, System.Xml.XPath.XPathNavigator.Clone(), System.Xml.XPath.XPathNodeIterator.Current, System.Xml.Dictionary, System.Xml.XPath.XPathNodeIterator.MoveNext(), and System.Xml.XPath.XPathNavigator.NodeType.

Referenced by System.Xml.Xsl.XsltOld.CopyNodeSetAction.Execute(), and System.Xml.Xsl.XsltOld.RootAction.Execute().