Retrieve all user documents in a docbase

User documents are all the documents in a docbase that are created by TEXTML Server users or by users running your application.

User documents can be identified by the Textmldoctype property. User documents are designated the value of TEXTML_DOCUMENT, whereas system documents have the value SYSTEM_DOCUMENT.

To retrieve all the user documents in any docbase:

  1. Log in to TEXTML Server Administration Console.
  2. Using a text editor such as Notepad, open the AllNonSystemDocumentsQuery.xml sample query located in:%ProgramFiles%\IxiaSoft\TextmlServernn\SDK\Queries\.
    <?xml version="1.0" encoding="UTF-16"?>
    <!-- AllNonSystemDocumentsQuery.xml -->
    <query VERSION="4.1" RESULTSPACE="AllNonSystemDocuments">
        <property NAME="DocType">
            <elem>TEXTML_DOCUMENT</elem>
        </property>
    
    </query>
    
  3. In TEXTML Server Administration Console, create a new query and name it AllNonSystemDocumentsQuery.
  4. Paste the contents of the original AllNonSystemDocumentsQuery.xml into the query and save it.
  5. Right-click the query and select Run to run the query.