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

◆ XslElement()

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

Definition at line 1717 of file XsltLoader.cs.

1718 {
1720 string nameAvt = ParseNCNameAttribute(0);
1721 string text = ParseStringAttribute(1, "namespace");
1722 CheckError(text == "http://www.w3.org/2000/xmlns/", System.SR.Xslt_ReservedNS, text);
1723 if (ParseYesNoAttribute(2, "inherit-namespaces") == TriState.False)
1724 {
1725 ReportNYI("xsl:copy[@inherit-namespaces = 'no']");
1726 }
1730 if (_input.MoveToXsltAttribute(3, "use-attribute-sets"))
1731 {
1733 }
1734 return SetInfo(AstFactory.Element(nameAvt, text, _input.XslVersion), LoadEndTag(LoadInstructions(list)), attributes);
1735 }
static string Xslt_ReservedNS
Definition SR.cs:1958
Definition SR.cs:7
bool MoveToXsltAttribute(int attNum, string attName)
Definition XsltInput.cs:681
void ParseValidationAttribute(int attNum, bool defVal)
string ParseNCNameAttribute(int attNum)
TriState ParseYesNoAttribute(int attNum, string attName)
void CheckError(bool cond, string res, params string[] args)
void AddUseAttributeSets(List< XslNode > list)
string ParseStringAttribute(int attNum, string attName)
List< XslNode > LoadInstructions()
void ParseTypeAttribute(int attNum)
static XslNode SetInfo(XslNode to, List< XslNode > content, XsltInput.ContextInfo info)
readonly XsltInput.XsltAttribute[] _elementAttributes
List< XslNode > LoadEndTag(List< XslNode > content)

References System.Xml.Xsl.Xslt.XsltLoader._elementAttributes, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.XsltLoader.AddUseAttributeSets(), System.Xml.Xsl.Xslt.XsltLoader.CheckError(), System.Xml.Dictionary, System.Xml.Xsl.Xslt.AstFactory.Element(), System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.list, System.Xml.Xsl.Xslt.XsltLoader.LoadEndTag(), System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(), System.Xml.Xsl.Xslt.XsltInput.MoveToXsltAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseNCNameAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseStringAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseTypeAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseValidationAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseYesNoAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ReportNYI(), System.Xml.Xsl.Xslt.XsltLoader.SetInfo(), System.text, System.SR.Xslt_ReservedNS, and System.Xml.Xsl.Xslt.XsltInput.XslVersion.

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