InputSource toParse = new InputSource(new StringReader(pimviewer.getHutnBuffer()));
Document theModel = bobTheBuilder.parse(toParse);
theSchema = transformer.doTransformation(theProfile,theModel);
String theProfileName = "No profile selected.";
if (theProfile != null)
theProfileName = theProfile.getName();
if (theProfileName == null || theProfileName.equals(""))
theProfileName = "(no profile)";