xmptool is a program to query or modify XMP files.

Installation instructions are in INSTALL.
Usage instructions are in xmptool.1.
!