String path = entry.getRelativePath();
if(!path.equals("")) {
AttributesImpl attributes = new AttributesImpl();
if (entry.getKind() == SVNNodeKind.DIR) {
attributes.addAttribute("", "type", "", "CDATA", "directory");
builder.startElement(ENTRY_ELEMENT, attributes);
builder.characters(entry.getName());
builder.endElement();
}else if (entry.getKind() == SVNNodeKind.FILE) {
attributes.addAttribute("", "type", "", "CDATA", "file");
builder.startElement(ENTRY_ELEMENT, attributes);