// Atomic categories are represented in the javacc tree as
// catSpec-aotmcat. So for such cases the catSpec child is
// skipped and the next child is accessed.
if (child.jjtGetNumChildren() == 1
&& child.type.equals("complexcat")) {
child = (SimpleNode) child.jjtGetChild(0);
// The element which is to be added to the xml