Localizing XML attributes in factory setups