Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsSearchResults::serializeAsXml Method
dtsSearchResults Class | dtsSearchResults Class | Send Feedback

serializeAsXml() encodes all of the data in a search results object as an XML stream and returns it using a dtsStringHandle.

dtsStringHandle serializeAsXml(int iItem = -1);
Description

If iItem is -1, all of the items in search results are returned. If iItem is -2, only the XML describing the search results as a whole (the request, total hits, etc.) is returned. Otherwise, only the item indicated by iItem is returned.

Class
Links
You are here: C++ API > Classes > dtsSearchResults Class > dtsSearchResults::serializeAsXml Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.