XmlAttribute attribute = XmlAttribute.from(xmlr);
List<NodeHandler> handlers = Lists.newArrayList();
for (Entry<XPathRequest, NodeHandler> entry : handlersMap.entrySet()) {
if (entry.getKey().canProcess(curElement, attribute, context)) {
NodeHandler handler = entry.getValue();
handler.elementStart(getName(xmlr));
handlers.add(handler);
}
}
context.addHandlers(curElement, attribute, handlers);