I am using TaminoClient API.
//sample code1 (result is ok)
taminoClient.setPageSize(2);
taminoResult = taminoClient.query(“/TOPIC[//ParentID=514 and //TopicID!=514]”,2);
//sample code2 (result is strange!)
taminoClient.setPageSize(2);
taminoResult =TaminoClient.query(/TOPIC[//ParentID=514 and //TopicID!=514] sortby (.//upDateTime desc),2);
Can’t I use “sortby” and “page” mothed together?
This is not really an API related question, as the query string is parsed and executed by the XML server of Tamino. I suggest you post this question in the “Native XML Store & X-Query” forum. People there probably can help you with this.
thanks!