Exemplo n.º 1
0
		public XsltCompiledContext (XslTransformProcessor p) : base (new NameTable ())
		{
			this.p = p;
			scopes = new XsltContextInfo [10];
			for (int i = 0; i < 10; i++)
				scopes [i] = new XsltContextInfo ();
		}
Exemplo n.º 2
0
 public XsltCompiledContext(XslTransformProcessor p) : base(new NameTable())
 {
     this.p = p;
     scopes = new XsltContextInfo [10];
     for (int i = 0; i < 10; i++)
     {
         scopes [i] = new XsltContextInfo();
     }
 }
Exemplo n.º 3
0
        public override void PushScope()
        {
            base.PushScope();

            scopeAt++;
            if (scopeAt == scopes.Length)
            {
                ExtendScope();
            }
            if (scopes [scopeAt] == null)
            {
                scopes [scopeAt] = new XsltContextInfo();
            }
            else
            {
                scopes [scopeAt].Clear();
            }
        }
Exemplo n.º 4
0
		public override void PushScope ()
		{
			base.PushScope ();

			scopeAt++;
			if (scopeAt == scopes.Length)
				ExtendScope ();
			if (scopes [scopeAt] == null)
				scopes [scopeAt] = new XsltContextInfo ();
			else
				scopes [scopeAt].Clear ();
		}