if (attr.getValue(INPUTXML_TYPE_ATTRIBUTE) != null) {
newattr.addAttribute("", INPUTXML_TYPE_ATTRIBUTE, INPUTXML_TYPE_ATTRIBUTE, "CDATA",
attr.getValue(INPUTXML_TYPE_ATTRIBUTE));
}
ValidatorActionResult validationResult = null;
if (validationResultMap != null && validationResultMap.get(fieldname) != null) {
validationResult = (ValidatorActionResult)validationResultMap.get(fieldname);
newattr.addAttribute("", INPUTXML_VALIDATIONRESULT_ATTRIBUTE,
INPUTXML_VALIDATIONRESULT_ATTRIBUTE,"CDATA", validationResult.toString());
}
super.startTransformingElement("", name, name, newattr); // remove namespace
this.startRecording();