root.put("namespace", new NamespaceDirective());
root.put("evalLDPath",new LDPathMethod<>(backend));
root.put("ldpath",new LDPathDirective<>(backend));
TemplateStackModel contexts = new TemplateStackModel();
contexts.push(new TemplateNodeModel<>(context,backend));
root.put("context",contexts);
template.process(root,out);
}
}