Element schedule = root.addElement("schedule");
Element schedule = root.addElement("autoattendant");
    void generate(AttendantRule attendantRule) {        m_baseFileName = attendantRule.getSystemName() + SUFFIX;        Element root = getDocument().getRootElement();        Element schedule = root.addElement("schedule");        Holiday holidayAttendant = attendantRule.getHolidayAttendant();        addHoliday(schedule, holidayAttendant);        WorkingTime workingTimeAttendant = attendantRule.getWorkingTimeAttendant();        addRegularHours(schedule, workingTimeAttendant);        ScheduledAttendant afterHoursAttendant = attendantRule.getAfterHoursAttendant();        addAttendant(schedule, afterHoursAttendant, "afterhours");    }