Sorry, i meant to paste

//[EMAIL PROTECTED]:primaryType = 'prm:File' and deref(@jcr:baseVersion, nt:version)/jcr:content/@jcr:lastModified >= xs:dateTime('2000-01-01T00:00:00.000-05:00')] order by jcr:score() descending

no errors, but no results.

Am i confused as to how properties are referenced from Versions? Do i need to instead just add a creation date property aside from the nt:file

lastModifiedDate one?
----- Original Message ----- From: "Dave Brosius" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 20, 2008 6:15 PM
Subject: Search for creation dates - help


I am trying to put together a query for when the creation date of a nt:file derived object is greater than some date. I've tried

//[EMAIL PROTECTED]:primaryType = 'prm:File' and deref(@jcr:baseVersion, nt:version)/@jcr:lastModified >= xs:dateTime('2000-01-01T00:00:00.000-05:00')] order by jcr:score() descending


This doesn't seem to work at the moment, Am i off base here?

Reply via email to