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

◆ GetNsAlias()

string System.Xml.Xsl.XsltOld.Compiler.GetNsAlias ( ref string prefix)
inline

Definition at line 634 of file Compiler.cs.

635 {
636 if (prefix == "#default")
637 {
638 prefix = string.Empty;
639 return DefaultNamespace;
640 }
641 if (!PrefixQName.ValidatePrefix(prefix))
642 {
643 throw XsltException.Create(System.SR.Xslt_InvalidAttrValue, _input.LocalName, prefix);
644 }
646 }
static string Xslt_InvalidAttrValue
Definition SR.cs:1884
Definition SR.cs:7
string ResolveXPathNamespace(string prefix)
Definition Compiler.cs:348

References System.Xml.Xsl.XsltException.Create(), System.Xml.Xsl.XsltOld.NavigatorInput.LocalName, System.prefix, System.Xml.Xsl.XsltOld.PrefixQName.ValidatePrefix(), and System.SR.Xslt_InvalidAttrValue.