Any xeroderma pigmentosum in which the cause of the disease is a mutation in the ERCC2 gene. The disease is xeroderma pigmentosum group D (MONDO_0010212, a Monarch Disease Ontology term). Also known as: ERCC2 xeroderma pigmentosum, XP group D, XP group H, XP-D, XP4, XP8, XPD, XPDC.