dimList = xform.transform(inDoc.getRootElement().getChildren());
outputter.output(dimList, System.out);
}
else
{
dimDoc = xform.transform(inDoc);
outputter.output(dimDoc, System.out);
dimList = dimDoc.getRootElement().getChildren();
}
// Sanity-check the generated DIM, make sure it would load.