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

◆ XslCopy()

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

Definition at line 1373 of file XsltLoader.cs.

1374 {
1376 bool flag = ParseYesNoAttribute(0, "copy-namespaces") != TriState.False;
1377 bool flag2 = ParseYesNoAttribute(1, "inherit-namespaces") != TriState.False;
1378 if (!flag)
1379 {
1380 ReportNYI("xsl:copy[@copy-namespaces = 'no']");
1381 }
1382 if (!flag2)
1383 {
1384 ReportNYI("xsl:copy[@inherit-namespaces = 'no']");
1385 }
1387 if (_input.MoveToXsltAttribute(2, "use-attribute-sets"))
1388 {
1390 }
1393 return SetInfo(AstFactory.Copy(), LoadEndTag(LoadInstructions(list)), attributes);
1394 }
bool MoveToXsltAttribute(int attNum, string attName)
Definition XsltInput.cs:681
void ParseValidationAttribute(int attNum, bool defVal)
TriState ParseYesNoAttribute(int attNum, string attName)
readonly XsltInput.XsltAttribute[] _copyAttributes
void AddUseAttributeSets(List< XslNode > list)
List< XslNode > LoadInstructions()
void ParseTypeAttribute(int attNum)
static XslNode SetInfo(XslNode to, List< XslNode > content, XsltInput.ContextInfo info)
List< XslNode > LoadEndTag(List< XslNode > content)

References System.Xml.Xsl.Xslt.XsltLoader._copyAttributes, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.XsltLoader.AddUseAttributeSets(), System.Xml.Xsl.Xslt.AstFactory.Copy(), System.Xml.Dictionary, 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.ParseTypeAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseValidationAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseYesNoAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ReportNYI(), and System.Xml.Xsl.Xslt.XsltLoader.SetInfo().

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