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)); }
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)); }