I have formed an XPath query to solve the problem, logically it seems correct but when i try to execute it using OpenKM GUI interface, it fails. Please find the query below:
/jcr:root/okm:root//element(*,okm:document)[@okm:content/jcr:lastModified >= xs:dateTime('2008-07-20T00:00:00.000Z')]
where the arguement in xs:dateTime(''

is an ISO8601 formatted date. I just wanted to fetch all the document/folders who whose last modified date is greator than the given modifieDate.
Please
Pavila/jllort help me out in solving this problem. Atleast let me know if I am doing it right or not.