The ebay item you have linked to will fit all XTR models 2004 on, and XTX models from 2004-2006 only.
This ebay lamp will not fit a 2009 XTX (but will fit a 2009 XTR).
FYI - There are two types of headlamp...
(1) 5VK-H410A-12 (XT660R all years/XT660X 2004-2006)
(2) 10S-H410A-00 (XT660X 2007 onwards)