} else if (exportContext.equalsIgnoreCase("migrate")) {
transContext = DOTranslationUtility.SERIALIZE_EXPORT_MIGRATE;
} else if (exportContext.equalsIgnoreCase("archive")) {
transContext = DOTranslationUtility.SERIALIZE_EXPORT_ARCHIVE;
} else {
throw new UnsupportedTranslationException("Export context "
+ exportContext + " is not valid.");
}
// now serialize for export in the proper XML format...
if (format == null || format.equals("")
|| format.equalsIgnoreCase("default")) {