public void AddScript (Compiler c)
		{
			MSXslScript s = new MSXslScript (c.Input, c.Evidence);
			string ns = c.Input.GetNamespace (s.ImplementsPrefix);
			if (ns == null)
				throw new XsltCompileException ("Specified prefix for msxsl:script was not found: " + s.ImplementsPrefix, null, c.Input);
			scripts.Add (ns, s.Compile (c.Input));
		}
Ejemplo n.º 2
0
        public void AddScript(Compiler c)
        {
            MSXslScript s  = new MSXslScript(c.Input, c.Evidence);
            string      ns = c.Input.GetNamespace(s.ImplementsPrefix);

            if (ns == null)
            {
                throw new XsltCompileException("Specified prefix for msxsl:script was not found: " + s.ImplementsPrefix, null, c.Input);
            }
            scripts.Add(ns, s.Compile(c.Input));
        }