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

◆ LoadRealStylesheet()

void System.Xml.Xsl.Xslt.XsltLoader.LoadRealStylesheet ( )
inlineprivate

Definition at line 515 of file XsltLoader.cs.

516 {
522 {
523 return;
524 }
525 bool flag = true;
526 do
527 {
528 bool flag2 = false;
529 switch (_input.NodeType)
530 {
531 case XmlNodeType.Element:
533 {
535 {
536 if (!flag)
537 {
540 }
541 else
542 {
543 flag2 = true;
544 LoadImport();
545 }
546 }
547 else if (_input.IsKeyword(_atoms.Include))
548 {
549 LoadInclude();
550 }
552 {
553 LoadStripSpace(attributes.nsList);
554 }
556 {
557 LoadPreserveSpace(attributes.nsList);
558 }
559 else if (_input.IsKeyword(_atoms.Output))
560 {
561 LoadOutput();
562 }
563 else if (_input.IsKeyword(_atoms.Key))
564 {
565 LoadKey(attributes.nsList);
566 }
568 {
569 LoadDecimalFormat(attributes.nsList);
570 }
572 {
573 LoadNamespaceAlias(attributes.nsList);
574 }
576 {
577 LoadAttributeSet(attributes.nsList);
578 }
580 {
581 LoadGlobalVariableOrParameter(attributes.nsList, XslNodeType.Variable);
582 }
583 else if (_input.IsKeyword(_atoms.Param))
584 {
585 LoadGlobalVariableOrParameter(attributes.nsList, XslNodeType.Param);
586 }
588 {
589 LoadTemplate(attributes.nsList);
590 }
591 else
592 {
595 {
597 }
599 }
600 }
602 {
603 LoadMsScript(attributes.nsList);
604 }
605 else
606 {
608 {
610 }
612 }
613 flag = flag2;
614 break;
615 default:
617 break;
618 case XmlNodeType.Whitespace:
619 case XmlNodeType.SignificantWhitespace:
620 break;
621 }
622 }
623 while (_input.MoveToNextSibling());
624 }
static string Xslt_NotAtTop
Definition SR.cs:1870
static string Xslt_NullNsAtTopLevel
Definition SR.cs:1874
static string Xslt_TextNodesNotAllowed
Definition SR.cs:1876
static string Xslt_UnexpectedElement
Definition SR.cs:1872
Definition SR.cs:7
bool IsKeyword(string kwd)
Definition XsltInput.cs:702
void LoadGlobalVariableOrParameter(NsDecl stylesheetNsList, XslNodeType nodeType)
void LoadKey(NsDecl stylesheetNsList)
void ReportError(string res, params string[] args)
void LoadStripSpace(NsDecl stylesheetNsList)
void ParseValidationAttribute(int attNum, bool defVal)
void LoadMsScript(NsDecl stylesheetNsList)
readonly XsltInput.XsltAttribute[] _stylesheetAttributes
Definition XsltLoader.cs:46
void LoadNamespaceAlias(NsDecl stylesheetNsList)
void ParseInputTypeAnnotationsAttribute(int attNum)
void LoadAttributeSet(NsDecl stylesheetNsList)
void LoadTemplate(NsDecl stylesheetNsList)
void LoadDecimalFormat(NsDecl stylesheetNsList)
void LoadPreserveSpace(NsDecl stylesheetNsList)

References System.Xml.Xsl.Xslt.XsltLoader._atoms, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.XsltLoader._stylesheetAttributes, System.Xml.Xsl.Xslt.KeywordsTable.AttributeSet, System.Xml.Xsl.Xslt.KeywordsTable.DecimalFormat, System.Xml.Dictionary, System.Xml.Xsl.Xslt.XsltInput.ElementName, System.Xml.Xsl.Xslt.XsltInput.ForwardCompatibility, System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.Xml.Xsl.Xslt.XsltInput.GetVersionAttribute(), System.Xml.Xsl.Xslt.KeywordsTable.Import, System.Xml.Xsl.Xslt.KeywordsTable.Include, System.Xml.Xsl.Xslt.XsltInput.IsKeyword(), System.Xml.Xsl.Xslt.XsltInput.IsNs(), System.Xml.Xsl.Xslt.XsltInput.IsNullNamespace(), System.Xml.Xsl.Xslt.XsltInput.IsXsltNamespace(), System.Xml.Xsl.Xslt.KeywordsTable.Key, System.Xml.Xsl.Xslt.XsltLoader.LoadAttributeSet(), System.Xml.Xsl.Xslt.XsltLoader.LoadDecimalFormat(), System.Xml.Xsl.Xslt.XsltLoader.LoadGlobalVariableOrParameter(), System.Xml.Xsl.Xslt.XsltLoader.LoadImport(), System.Xml.Xsl.Xslt.XsltLoader.LoadInclude(), System.Xml.Xsl.Xslt.XsltLoader.LoadKey(), System.Xml.Xsl.Xslt.XsltLoader.LoadMsScript(), System.Xml.Xsl.Xslt.XsltLoader.LoadNamespaceAlias(), System.Xml.Xsl.Xslt.XsltLoader.LoadOutput(), System.Xml.Xsl.Xslt.XsltLoader.LoadPreserveSpace(), System.Xml.Xsl.Xslt.XsltLoader.LoadStripSpace(), System.Xml.Xsl.Xslt.XsltLoader.LoadTemplate(), System.Xml.Xsl.Xslt.XsltInput.LocalName, System.Xml.Xsl.Xslt.XsltInput.MoveToFirstChild(), System.Xml.Xsl.Xslt.XsltInput.MoveToNextSibling(), System.Xml.Xsl.Xslt.KeywordsTable.NamespaceAlias, System.Xml.Xsl.Xslt.XsltInput.NodeType, System.Xml.Xsl.Xslt.XsltInput.ContextInfo.nsList, System.Xml.Xsl.Xslt.KeywordsTable.Output, System.Xml.Xsl.Xslt.KeywordsTable.Param, System.Xml.Xsl.Xslt.XsltLoader.ParseInputTypeAnnotationsAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ParseValidationAttribute(), System.Xml.Xsl.Xslt.KeywordsTable.PreserveSpace, System.Xml.Xsl.Xslt.XsltInput.QualifiedName, System.Xml.Xsl.Xslt.XsltLoader.ReportError(), System.Xml.Xsl.Xslt.KeywordsTable.Script, System.Xml.Xsl.Xslt.XsltInput.SkipNode(), System.Xml.Xsl.Xslt.KeywordsTable.StripSpace, System.Xml.Xsl.Xslt.KeywordsTable.Template, System.Xml.Xsl.Xslt.KeywordsTable.UrnMsxsl, System.Xml.Xsl.Xslt.KeywordsTable.Variable, System.SR.Xslt_NotAtTop, System.SR.Xslt_NullNsAtTopLevel, System.SR.Xslt_TextNodesNotAllowed, and System.SR.Xslt_UnexpectedElement.

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