Below is a XQuery expression that will return ino:id’s and modification dates of documents that have been modified on or after the specified date. I’ve only tested this with Tamino v4.1.4.1.
declare namespace tf='http://namespaces.softwareag.com/tamino/TaminoFunction'
declare namespace xs='http://www.w3.org/2001/XMLSchema'
for $doc in input()/yourdoctype
let $moddate := tf:getLastModified($doc/..),
$id := tf:getInoId($doc/..),
$adate := xs:dateTime("2003-06-16T09:50:00Z")
where $moddate >= $adate
return
<match>
<id>{$id}</id>
<date>{$moddate}</date>
</match>
You can try this in the interactive interface.
For coding purposes in Java you need to do the following:-
(1) build up a String with the above XQuery expression;
(2) construct a TXQuery object with the above String;
(3) use the TXMLObjectAccessor interface and use the xquery method.
For more information refer to the Javadoc on the Tamino API for Java.
Hope this clarifies things and what Mark has been suggesting.
Stuart Fyffe-Collins
Software AG (UK) Ltd.
#webMethods#API-Management#webMethods-Tamino-XML-Server-APIs