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

◆ ElementAvailable()

bool System.Xml.Xsl.XsltOld.XsltCompileContext.ElementAvailable ( string qname)
inlineprivate

Definition at line 746 of file XsltCompileContext.cs.

747 {
748 PrefixQName.ParseQualifiedName(qname, out var prefix, out var local);
750 if (text == "http://www.w3.org/1999/XSL/Transform")
751 {
752 switch (local)
753 {
754 default:
755 return local == "variable";
756 case "apply-imports":
757 case "apply-templates":
758 case "attribute":
759 case "call-template":
760 case "choose":
761 case "comment":
762 case "copy":
763 case "copy-of":
764 case "element":
765 case "fallback":
766 case "for-each":
767 case "if":
768 case "message":
769 case "number":
770 case "processing-instruction":
771 case "text":
772 case "value-of":
773 return true;
774 }
775 }
776 return false;
777 }

References System.Xml.Xsl.XsltOld.XsltCompileContext._manager, System.Xml.Dictionary, System.Xml.Xsl.XsltOld.PrefixQName.ParseQualifiedName(), System.prefix, System.Xml.Xsl.XsltOld.InputScopeManager.ResolveXmlNamespace(), and System.text.