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

◆ NewNextNode()

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

Definition at line 309 of file ActionFrame.cs.

310 {
311 bool flag = _newNodeSet.MoveNext();
312 if (flag && proc.Stylesheet.Whitespace)
313 {
315 if (nodeType == XPathNodeType.Whitespace)
316 {
318 bool flag2;
319 do
320 {
322 xPathNavigator.MoveToParent();
323 flag2 = !proc.Stylesheet.PreserveWhiteSpace(proc, xPathNavigator) && (flag = _newNodeSet.MoveNext());
324 nodeType = _newNodeSet.Current.NodeType;
325 }
326 while (flag2 && nodeType == XPathNodeType.Whitespace);
327 }
328 }
329 return flag;
330 }

References System.Xml.Xsl.XsltOld.ActionFrame._newNodeSet, 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.ApplyTemplatesAction.Execute(), System.Xml.Xsl.XsltOld.ForEachAction.Execute(), and System.Xml.Xsl.XsltOld.ActionFrame.SortNewNodeSet().