internal override void Compile(Compiler compiler) {
CompileAttributes(compiler);
if (this.matchKey == Compiler.InvalidQueryKey) {
if (this.name == null) {
throw XsltException.Create(Res.Xslt_TemplateNoAttrib);
}
if (this.mode != null ) {
throw XsltException.Create(Res.Xslt_InvalidModeAttribute);
}
}
compiler.BeginTemplate(this);
if (compiler.Recurse()) {
CompileParameters(compiler);
CompileTemplate(compiler);
compiler.ToParent();
}
compiler.EndTemplate();
AnalyzePriority(compiler);
}