Note to reader: We present here some guidelines on how to represent HDF4 objects in HDF5 and how to interpret HDF5 objects as HDF4 objects. It is meant to help in implementing software that has to deal with both formats in some consistent way, such as converting HDF4 files to HDF5, or adapting HDF4 tools to HDF5. Although the latest revision is more than 10 years after the previous one, we feel that most information in the previous revision is still valuable. The latest revision corrects errors and updates the out-of-dated information. The significant improvement is to represent SDS dimension scales with the HDF5 Dimension Scales. Please send comments and corrections to hdfhelp@hdfgroup.org.