Added xmlm in, for use reading and writing XMP metadata