categoryE.setAttribute("name", name);
categoryE.setAttribute("description", description);
parentGroup.appendChild(categoryE);
processGroupsRecursively(memberGroup, owner, categoryE);
} else {
IEntity channelDefMember = (IEntity)member;
int channelPublishId = CommonUtils.parseInt(channelDefMember.getKey());
if ( channelPublishId > 0 ) {
ChannelDefinition channelDef = crs.getChannelDefinition(channelPublishId);
if (channelDef != null) {
// Make sure channel is approved
Date approvalDate = channelDef.getApprovalDate();