Element element = (Element) pointer.getNode();
Template template = new Template(element, this);
template.setSystemId(systemId);
templateList.add(template);
}
for (Iterator it = context.iterate("import/@href"); it.hasNext();) {
String href = (String) it.next();
InputSource importInputSource = new InputSource(uri.resolve(href).toString());
org.w3c.dom.Document importDocument = db.parse(importInputSource);
importTemplates(db, importDocument, importInputSource.getSystemId());
}