Exemple #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 ();
		}
Exemple #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();
     }
 }
Exemple #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();
            }
        }
Exemple #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 ();
		}