You can’t convert an XMP file to DNG directly because an XMP file format contains text while a DNG is an image file extension. You can, however, embed the XMP data into a DNG to avoid having two files.