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

◆ AddNsDecl()

void System.Xml.Xsl.Xslt.QilGenerator.AddNsDecl ( QilList content,
string prefix,
string nsUri )
inlineprivate

Definition at line 703 of file QilGenerator.cs.

704 {
705 if (!(_outputScope.LookupNamespace(prefix) == nsUri))
706 {
708 content.Add(_f.NamespaceDecl(_f.String(prefix), _f.String(nsUri)));
709 }
710 }
virtual void Add(QilNode node)
Definition QilNode.cs:121
QilNode NamespaceDecl(QilNode prefix, QilNode uri)
void AddNamespace(string prefix, string uri)
readonly XsltQilFactory _f
readonly OutputScopeManager _outputScope

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Xslt.QilGenerator._outputScope, System.Xml.Xsl.Qil.QilNode.Add(), System.Xml.Xsl.Xslt.OutputScopeManager.AddNamespace(), System.Xml.Xsl.Xslt.OutputScopeManager.LookupNamespace(), System.Xml.Xsl.Qil.QilPatternFactory.NamespaceDecl(), System.prefix, and System.Xml.Xsl.Qil.QilPatternFactory.String().

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompileLiteralElement().