descrEl.appendChild(doc.createTextNode(context.getStructureStylesheetDescription().getChannelAttributeWordDescription(atName)));
atEl.appendChild(descrEl);
saEl.appendChild(atEl);
}
edEl.appendChild(saEl);
ThemeStylesheetUserPreferences tsup = context.getUserPreferences().getThemeStylesheetUserPreferences();
Element taEl = doc.createElement("themeattributes");
for (Enumeration ce = tsup.getChannelAttributeNames(); ce.hasMoreElements();) {
Element atEl = doc.createElement("attribute");
Element atNameEl = doc.createElement("name");
String atName = (String)ce.nextElement();
atNameEl.appendChild(doc.createTextNode(atName));
atEl.appendChild(atNameEl);
Element valueEl = doc.createElement("value");
String value = tsup.getChannelAttributeValue(editElementID, atName);
if (value == null) {
value = context.getThemeStylesheetDescription().getChannelAttributeDefaultValue(atName);
}
valueEl.appendChild(doc.createTextNode(value));
atEl.appendChild(valueEl);