event = new JXPathEvent(layout, path, value);
} else {
String copletId = attr.getValue("coplet");
newAttrs.removeAttribute("coplet");
final CopletInstanceData cid = this.getCopletInstanceData(copletId);
event = new CopletJXPathEvent(cid, path, value);
}
if ( this.insideLinks ) {
this.collectedEvents.add(event);
} else {
final String href = linkService.getLinkURI(event);