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

◆ CompileAttributes()

void System.Xml.Xsl.XsltOld.CompiledAction.CompileAttributes ( Compiler compiler)
inlineinherited

Definition at line 14 of file CompiledAction.cs.

15 {
16 NavigatorInput input = compiler.Input;
17 string localName = input.LocalName;
18 if (!input.MoveToFirstAttribute())
19 {
20 return;
21 }
22 do
23 {
24 if (input.NamespaceURI.Length != 0)
25 {
26 continue;
27 }
28 try
29 {
31 {
32 throw XsltException.Create(System.SR.Xslt_InvalidAttribute, input.LocalName, localName);
33 }
34 }
35 catch
36 {
37 if (!compiler.ForwardCompatibility)
38 {
39 throw;
40 }
41 }
42 }
43 while (input.MoveToNextAttribute());
44 input.ToParent();
45 }
static string Xslt_InvalidAttribute
Definition SR.cs:1880
Definition SR.cs:7
virtual bool CompileAttribute(Compiler compiler)

References System.Xml.Xsl.XsltOld.CompiledAction.CompileAttribute(), System.Xml.Xsl.XsltException.Create(), System.Xml.Dictionary, System.input, System.Xml.Xsl.XsltOld.NavigatorInput.LocalName, and System.SR.Xslt_InvalidAttribute.

Referenced by System.Xml.Xsl.XsltOld.ApplyTemplatesAction.Compile(), System.Xml.Xsl.XsltOld.AttributeAction.Compile(), System.Xml.Xsl.XsltOld.AttributeSetAction.Compile(), System.Xml.Xsl.XsltOld.CallTemplateAction.Compile(), System.Xml.Xsl.XsltOld.ChooseAction.Compile(), System.Xml.Xsl.XsltOld.CommentAction.Compile(), System.Xml.Xsl.XsltOld.CopyAction.Compile(), System.Xml.Xsl.XsltOld.CopyOfAction.Compile(), System.Xml.Xsl.XsltOld.ElementAction.Compile(), System.Xml.Xsl.XsltOld.ForEachAction.Compile(), System.Xml.Xsl.XsltOld.IfAction.Compile(), System.Xml.Xsl.XsltOld.MessageAction.Compile(), System.Xml.Xsl.XsltOld.NumberAction.Compile(), System.Xml.Xsl.XsltOld.ProcessingInstructionAction.Compile(), System.Xml.Xsl.XsltOld.SortAction.Compile(), System.Xml.Xsl.XsltOld.TemplateAction.Compile(), System.Xml.Xsl.XsltOld.TextAction.Compile(), System.Xml.Xsl.XsltOld.ValueOfAction.Compile(), System.Xml.Xsl.XsltOld.VariableAction.Compile(), System.Xml.Xsl.XsltOld.WithParamAction.Compile(), and System.Xml.Xsl.XsltOld.XsltOutput.Compile().