Instead of using the XMP APIs in the PDFL SDK, get a copy of the XMP SDK (which is open source) and use that as you have a RICH API set for XMP manipulation.
(so you load the XMP from PDFL, use the XMP SDK to manipulate, and then write it back with PDFL)