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

◆ ResolveQName() [2/2]

bool System.Xml.Xsl.Xslt.XsltLoader.ResolveQName ( bool ignoreDefaultNs,
string qname,
out string localName,
out string namespaceName,
out string prefix )
inlineprivate

Definition at line 2016 of file XsltLoader.cs.

2017 {
2018 if (qname == null)
2019 {
2021 localName = _compiler.PhantomNCName;
2023 return false;
2024 }
2025 if (!_compiler.ParseQName(qname, out prefix, out localName, this))
2026 {
2028 return false;
2029 }
2030 if (ignoreDefaultNs && prefix.Length == 0)
2031 {
2032 namespaceName = string.Empty;
2033 }
2034 else
2035 {
2037 if (namespaceName == null)
2038 {
2040 return false;
2041 }
2042 }
2043 return true;
2044 }
readonly string PhantomNCName
Definition Compiler.cs:105
bool ParseQName(string qname, out string prefix, out string localName, IErrorHelper errorHelper)
Definition Compiler.cs:242
string LookupXmlNamespace(string prefix)

References System.Xml.Xsl.Xslt.XsltLoader._compiler, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.Compiler.CreatePhantomNamespace(), System.Xml.Xsl.Xslt.XsltInput.LookupXmlNamespace(), System.Xml.Xsl.Xslt.Compiler.ParseQName(), System.Xml.Xsl.Xslt.Compiler.PhantomNCName, and System.prefix.

Referenced by System.Xml.Xsl.Xslt.XsltLoader.CreateXPathQName(), System.Xml.Xsl.Xslt.XsltLoader.LoadDecimalFormat(), System.Xml.Xsl.Xslt.XsltLoader.LoadOutput(), System.Xml.Xsl.Xslt.XsltLoader.ParseOutputMethod(), System.Xml.Xsl.Xslt.XsltLoader.ParseQNameAttribute(), and System.Xml.Xsl.Xslt.XsltLoader.ResolveQName().