} else if (a instanceof Cancel) {
Cancel c = (Cancel) a;
b.append(indent).append("<cancel sendid=\"")
.append(c.getSendid()).append("\"/>\n");
} else if (a instanceof Log) {
Log lg = (Log) a;
b.append(indent).append("<log expr=\"").
append(SCXMLHelper.escapeXML(lg.getExpr())).
append("\"/>\n");
} else if (a instanceof Exit) {
Exit e = (Exit) a;
b.append(indent).append("<cs:exit");
String expr = SCXMLHelper.escapeXML(e.getExpr());