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

◆ XslApplyTemplates()

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

Definition at line 1350 of file XsltLoader.cs.

1351 {
1353 string text = ParseStringAttribute(0, "select");
1354 if (text == null)
1355 {
1356 text = "node()";
1357 }
1358 QilName mode = ParseModeAttribute(1);
1359 List<XslNode> content = LoadWithParams(InstructionFlags.AllowSort);
1360 attributes.SaveExtendedLineInfo(_input);
1361 return SetInfo(AstFactory.ApplyTemplates(mode, text, attributes, _input.XslVersion), content, attributes);
1362 }
readonly XsltInput.XsltAttribute[] _applyTemplatesAttributes
string ParseStringAttribute(int attNum, string attName)
List< XslNode > LoadWithParams(InstructionFlags flags)
QilName ParseModeAttribute(int attNum)
static XslNode SetInfo(XslNode to, List< XslNode > content, XsltInput.ContextInfo info)

References System.Xml.Xsl.Xslt.XsltLoader._applyTemplatesAttributes, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.AstFactory.ApplyTemplates(), System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.Xml.Xsl.Xslt.XsltLoader.LoadWithParams(), System.Xml.Xsl.Xslt.XsltLoader.ParseModeAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseStringAttribute(), System.Xml.Xsl.Xslt.XsltInput.ContextInfo.SaveExtendedLineInfo(), System.Xml.Xsl.Xslt.XsltLoader.SetInfo(), System.text, and System.Xml.Xsl.Xslt.XsltInput.XslVersion.

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