public void validate() throws TransformerConfigurationException {
checkWithinTemplate();
}
public Expression compile(Executable exec) throws TransformerConfigurationException {
ApplyImports inst = new ApplyImports();
inst.setActualParameters(getWithParamInstructions(exec, false),
getWithParamInstructions(exec, true));
ExpressionTool.makeParentReferences(inst);
return inst;
}