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

◆ IsElementAvailable()

static bool System.Xml.Xsl.Xslt.QilGenerator.IsElementAvailable ( XmlQualifiedName name)
inlinestatic

Definition at line 2457 of file QilGenerator.cs.

2458 {
2459 if (name.Namespace == "http://www.w3.org/1999/XSL/Transform")
2460 {
2461 string name2 = name.Name;
2462 switch (name2)
2463 {
2464 default:
2465 return name2 == "variable";
2466 case "apply-imports":
2467 case "apply-templates":
2468 case "attribute":
2469 case "call-template":
2470 case "choose":
2471 case "comment":
2472 case "copy":
2473 case "copy-of":
2474 case "element":
2475 case "fallback":
2476 case "for-each":
2477 case "if":
2478 case "message":
2479 case "number":
2480 case "processing-instruction":
2481 case "text":
2482 case "value-of":
2483 return true;
2484 }
2485 }
2486 return false;
2487 }

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompileElementAvailable(), and System.Xml.Xsl.Runtime.XsltLibrary.ElementAvailable().