Ejemplo n.º 1
0
        internal void PushNamespace(string prefix, string nspace)
        {
            Debug.Assert(_scopeStack != null, "PushScope wasn't called");
            Debug.Assert(prefix != null);
            Debug.Assert(nspace != null);
            _scopeStack.AddNamespace(prefix, nspace, _defaultNS);

            if (prefix == null || prefix.Length == 0)
            {
                _defaultNS = nspace;
            }
        }