i'm trying to get only "/headlines/headline" elements from an xml document which have attributes "startDate" and "endDate" in which the current date falls between them. here's what i have that isn't working correctly:

Code:
/headlines/headline[@startDate <= '2002-07-12' and @endDate >= '2002-07-12']
my date values are stored in the same "yyyy-MM-dd" format, yet this does not work. anyone know why?