attr.put( TextualTransform.ATTR_unit_origin, u.getOrigin() );
attr.put( TextualTransform.ATTR_unit_attr, u.getAttributes() );
try {
TextualTransform transform = getTransform( type );
transform.setParameters( getPropertySet(), attr );
content = transform.transform( content );
}
catch( TransformException te ) {
throw new UnitException( UnitException.CODE_transform, te );
}