# 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>

_FT_HTML5_bannerTitle.htm