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

◆ XslForEach()

XslNode System.Xml.Xsl.Xslt.XsltLoader.XslForEach ( )
inlineprivate

Definition at line 1496 of file XsltLoader.cs.

1497 {
1499 string select = ParseStringAttribute(0, "select");
1501 List<XslNode> content = LoadInstructions(InstructionFlags.AllowSort);
1502 attributes.SaveExtendedLineInfo(_input);
1503 return SetInfo(AstFactory.ForEach(select, attributes, _input.XslVersion), content, attributes);
1504 }
readonly XsltInput.XsltAttribute[] _forEachAttributes
string ParseStringAttribute(int attNum, string attName)
List< XslNode > LoadInstructions()
static XslNode SetInfo(XslNode to, List< XslNode > content, XsltInput.ContextInfo info)

References System.Xml.Xsl.Xslt.XsltLoader._forEachAttributes, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Dictionary, System.Xml.Xsl.Xslt.AstFactory.ForEach(), System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(), System.Xml.Xsl.Xslt.XsltLoader.ParseStringAttribute(), System.Xml.Xsl.Xslt.XsltInput.ContextInfo.SaveExtendedLineInfo(), System.Xml.Xsl.Xslt.XsltLoader.SetInfo(), and System.Xml.Xsl.Xslt.XsltInput.XslVersion.

Referenced by System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions().