for (int i = 0; i < m_publishersDescriptions.size(); i++) {
PublisherDescription p = (PublisherDescription) m_publishersDescriptions.get(i);
Element publisher = new Element("Publisher", "");
publisher.addAttribute(new Attribute("name", p.getName()));
publisher.addAttribute(new Attribute("synchronous", String.valueOf(p.isSynchronous())));
publisher.addAttribute(new Attribute("data_key", p.getDataKey()));
Element topics = new Element("Topics", "");
if (p.getTopics() != null) {
for (int j = 0; j < p.getTopics().length; j++) {
String topic = p.getTopics()[j];
Element e_topic = new Element("topic","");