ITProducts.xml File
The following sample code is an example of a Knowledge Base Interchange (KBI) XML file. Use this code as the basis for creating a file for importing multilevel product categories. Enter the knowledge base for your deployment of Siebel Smart Answer Connector; the knowledge base is dictated by the user application.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2009, Oracle Corporation, Inc., All rights reserved. -->
<!-- -->
<!-- File : KB_Interchange_1_0.xml -->
<!-- Revision : 1.0 -->
<!-- Date : 14 Jan 2009 -->
<!-- Creator : Tom Jones -->
<!-- -->
<!-- Description: Knowledge Base Interchange standard for Siebel Appln. -->
<!-- -->
<!-- Change Log: -->
<!-- author Date Comment -->
<!-- ========== =========== =========================================== -->
<!-- -->
<!DOCTYPE knowledge-base [
<!ELEMENT knowledge-base (category*)>
<!-- name : Name of the knowledge base. Default value is "Siebel_KB" -->
<!ATTLIST knowledge-base
name CDATA #REQUIRED >
<!ELEMENT category (category*)>
<!-- name : Name of the category -->
<!-- kscore : Knowledge Score of the category -->
<!ATTLIST category
name CDATA #REQUIRED
kscore CDATA "50">
]>
<!-- This file shall have 0..* nested categories -->
<knowledge-base name="IT Products">
<category name="Desktop">
<category name="Input Device">
<category name="Mouse"/>
<category name="Keyboard"/>
</category>
<category name="CPU">
<category name="Power Supply"/>
<category name="RAM"/>
<category name="CD-ROM Drive"/>
<category name="Processors"/>
<category name="HDD 100GB"/>
</category>
<category name="Monitor"/>
</category>
<category name="Laptop">
<category name="Power Adapter"/>
<category name="Portable Mouse"/>
<category name="Docking Station"/>
</category>
<category name="Tablet PC">
<category name="Sticker"/>
<category name="Stylus Pen"/>
</category>
</knowledge-base>