} else if (suffix.equals("tag")) {
result = node.getTag();
} else if (suffix.equals("index")) {
result = "" + node.getIndex();
} else if (suffix.equals("attributes")) { // attribute list
StringMap attributes = node.getAttributes();
StringBuffer sb = new StringBuffer();
for (i = 0; i<attributes.size();i++) {
sb.append(attributes.getKey(i)).append(" ");
}
result = sb.toString();
} else if (suffix.equals("children")) { // child names
int count = node.childCount();
if (count == 0) {