Retrieving all user documents in a docbase

A query that retrieves all documents that are NOT system documents.

User documents are all the documents in a docbase that are not system documents. User documents are the "ordinary" documents that are normally added to a docbase by users running your application.

User documents can be identified by their DocType (document type): TEXTML_DOCUMENT, as shown in the sample query below. DocType is a property of all documents stored in a docbase.

Sample query

To retrieve all the user documents in any docbase, run AllNonSystemDocuments.xml against the docbase:

<?xml version="1.0" encoding="UTF-16"?>
<!-- AllNonSystemDocumentsQuery.xml -->
<query VERSION="4.5" RESULTSPACE="AllNonSystemDocuments">
    <property NAME="DocType">
        <elem>TEXTML_DOCUMENT</elem>
    </property>

</query>

All sample queries are located in your Program Files directory for TEXTML Server: [...]\IxiaSoft\TextmlServer[version]\SDK\Queries\*.xml.