To verify if your hub is XD driver compatible, contact your hub manufacturer to verify if they produce a compatible XD driver for your specific hub. The SRAM version XD drivers are compatible with SRAM hubs only. Many hub manufacturers offer XD compatible drivers for their hubs currently.
The SRAM 10-42 and 10-50 XG level cassettes are 11 and 12 speed specific, and require an XD driver body compatible wheelset in order to mount to a rear hub. The reasoning for the driver design change is the 10 tooth cog is so small that it cannot fit on a traditional freehub body, like an 11 tooth cog can. This is what makes it unlike the now more readily available 11 speed freehubs used by road systems. Because of this, we had to design a new freehub interface. This new interface is called XD, and should be labeled as such on the wheelset you are purchasing.