private void writeFromDatasetTag(XmlSerializer xml) throws IOException {
xml.ignorableWhitespace(NEWLINE + INDENT + INDENT);
xml.startTag(null, FROM_DATASET_TAG);
xml.attribute(null, FROM_DATASET_ID_ATTR, DashController.getDatasetID());
if (ctx instanceof ProcessDashboard) {
ProcessDashboard dash = (ProcessDashboard) ctx;
String location = dash.getWorkingDirectory().getDescription();
xml.attribute(null, FROM_DATASET_LOCATION_ATTR, location);
}
xml.endTag(null, FROM_DATASET_TAG);
}