![]() | Multiple_Tables | Object Change Audit | ![]() |
The Import XML option allows Class definitions together with any Instance Properties and Cases they may have, to be imported from an external XML format text file into a specified Knowledge Module. Currently this uses Knowledge Builder's own XML constructs (see XML example 1). This option can be used to import new objects as well as to update existing objects.
Currently, note that this option does not support other types of objects such as Procedures & Dialogs.
The Export XML option can be used to create an XML file with the data of Classes exported from one or more specified Categories. This can be used for the exchange of Class data between different Knowledge Modules and between Knowledge Builder databases.
Example of the XML constructs used by the Import XML option
<?xml version="1.0"?>
<XRKB>
<OBJECT name="Desktop_deals" baseClass="Products_list" category="Products">
<PROP name="description" type="str" strLen="100" value=""/>
<PROP name="howText" type="str" strLen="100" value=""/>
<PROP name="multiSelect" type="bool" value="False"/>
<PROP name="default" type="str" strLen="100" value=""/>
…
<INSTPROP name="Marketing_Description" type="str" strLen="100"/>
<INSTPROP name="Price" type="float" decs="2"/>
<INSTPROP name="Delivery_time" type="int"/>
<INSTPROP name="CPU_Speed" type="list" listVals="300MHz,400MHz,500MHz,700MHz"/>
<INSTPROP name="RAM_Size" type="list" listVals="64MB,128MB,256MB"/>
<INSTPROP name="Hardisk_Size" type="list" listVals="3GB,5GB,10GB 5400rpm,10GB 7200rpm"/>
<INSTPROP name="Monitor" type="list" listVals="15",17""/>
<CLEAR_INSTANCES/>
<INSTANCE value="DV102" Marketing_Description="Best value buy" Price="999.95" Delivery_time="14" CPU_Speed="300MHz" RAM_Size="64MB" Hardisk_Size="3GB" Monitor="15""/>
<INSTANCE value="DX464" Marketing_Description="Power to the people" Price="1199.95" Delivery_time="3" CPU_Speed="400MHz" RAM_Size="64MB" Hardisk_Size="3GB" Monitor="15""/>
<INSTANCE value="DX528" Marketing_Description="Pure power" Price="1499.95" Delivery_time="7" CPU_Speed="500MHz" RAM_Size="128MB" Hardisk_Size="5GB" Monitor="15""/>
<INSTANCE value="DP558" Marketing_Description="Pure power plus" Price="1699.95" Delivery_time="3" CPU_Speed="500MHz" RAM_Size="128MB" Hardisk_Size="10GB 5400rpm" Monitor="17""/>
<INSTANCE value="DX756" Marketing_Description="Ultimate power" Price="1999.95" Delivery_time="7" CPU_Speed="700MHz" RAM_Size="256MB" Hardisk_Size="10GB 7200rpm" Monitor="17""/>
<INSTANCE value="DX656" Marketing_Description="Business Value" Price="1499.95" Delivery_time="3" CPU_Speed="500MHz" RAM_Size="64MB" Hardisk_Size="10GB 5400rpm" Monitor="17""/>
<CASECOLUMN tiedObject="Type_of_Customer"/>
<CASECOLUMN tiedObject="Main_Usage"/>
<CLEAR_CASES/>
<CASE Type_of_Customer="Personal" Main_Usage="" value="DV102"/>
<CASE Type_of_Customer="Personal" Main_Usage="" value="DX464"/>
<CASE Type_of_Customer="" Main_Usage="Client" value="DX528"/>
<CASE Type_of_Customer="Business" Main_Usage="Client" value="DX656"/>
<CASE Type_of_Customer="" Main_Usage="" value="DX756"/>
<CASE Type_of_Customer="" Main_Usage="" value="DP558"/>
</OBJECT>
</XRKB>