Community Component 25.2
Community Component Help

# Example Category XML Files

The following is an example XML file that includes only required elements:

    <?xml version="1.0" encoding="UTF-8" ?>
    <autn:categories xmlns:autn="http://schemas.autonomy.com/aci/">
       <autn:category>
          <autn:name>MyCategory</autn:name>
       </autn:category>
    </autn:categories>

The following is an example of a Category XML file that includes one category:

    <?xml version="1.0" encoding="UTF-8" ?>
    <autn:categories xmlns:autn="http://schemas.autonomy.com/aci/">
       <autn:category>
       <autn:name>test</autn:name>
          <autn:trainingelement>
             <autn:type>TRAININGTEXT</autn:type>
                <autn:content>hotels paris food stay</autn:content>
                <autn:language>ENGLISH</autn:language>
          </autn:trainingelement>
          <autn:details>
             <autn:generatedterms>STAI,PARI,FOOD,HOTEL</autn:generatedterms>
             <autn:generatedweights>2352,2272,1884,417</autn:generatedweights>
             <autn:queryagenttnw>FOOD~[1884] HOTEL~[417] PARI~[2272]STAI~[2352]
             </autn:queryagenttnw>
             <autn:active>True</autn:active>
          </autn:details>
       </autn:category>
    </autn:categories>

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Community Component 25.2

Topic Title: Example Category XML Files