code: private Element searchTime() throws IfmapErrorResult, IfmapException {
  
  		SearchRequest sr;
  		SearchResult res;
  		List<ResultItem> items;
  		ResultItem ri;
  		List<Document> mlist;
  		Node node;
  
  		String resultFilter = IfmapStrings.OP_METADATA_PREFIX + ":client-time[@" + IfmapStrings.PUBLISHER_ID_ATTR
  			+ " = \"" + mSsrc.getPublisherId() + "\"]";
  
  
  		sr = Requests.createSearchReq(null, 0, null, null, resultFilter, mDev);
  		sr.addNamespaceDeclaration(IfmapStrings.OP_METADATA_PREFIX,
  				IfmapStrings.OP_METADATA_NS_URI);
  
  		res = mSsrc.search(sr);
  
  		items = res.getResultItems();
  
  
  		if (items.size() > 1) {
  			IfmapJLog.warn("time sync: weird result item count: " + items.size());
  		}
  
  		if (items.size() == 0) {
  			throw new IfmapException("time sync", "No ResultItems for search!");
  		}
  
  		ri = items.get(0);
  
  		mlist = ri.getMetadata();
  
  		if (mlist.size() > 1) {
  			IfmapJLog.warn("time sync: multiple client-time elements: " + mlist.size());
  		}
  
  		if (mlist.size() == 0) {
  			throw new IfmapException("time sync", "No client-time metadata!");
  		}
  
  
  		// Take the last one in the list, hoping that it is the most current
  		// one.
  		Document clientTime = mlist.get(mlist.size() - 1);
  
  		node = clientTime.getFirstChild();
  
  		if (node.getNodeType() != Node.ELEMENT_NODE) {
  			throw new IfmapException("time sync", "Metadata is not element");
  		}
  
  		return (Element) node;
  	}
docs: Search for the self-published client time on {@link #mDev}.
  
  @return XML element with client and server timestamp
  @throws IfmapErrorResult
  @throws IfmapException