<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. -->
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../../../User_Guide.ent">
%BOOK_ENTITIES;
]>
<section id="sect-User_Guide-Content_Types">
  <title>Content Types</title>
  <para>This section is divided into 2 sub-topics:</para>
	<itemizedlist>
	<listitem>
	<para>
	<link linkend='sect-User_Guide-Content_Types-The_Namespace_Registry'>Namespace registry</link>
	</para>
	</listitem>
	<listitem>
	<para>
	<link linkend='sect-User_Guide-Content_Types-Manage_Node_Types'>Manage node types</link>
	</para>
	</listitem>
	</itemizedlist>
  <section id="sect-User_Guide-Content_Types-The_Namespace_Registry">
    <title>Namespace registry</title>
    <para>The namespace is a prefix in the node type name. It enables you to create node types without fearing any conflict with existing node types.
The registry helps you manage the namespaces used in the system.</para>
    <para>
   Select
        <emphasis role="bold">Content Types --> Namespace Registry</emphasis> to open the <emphasis role="bold">Namespace Registry</emphasis> form.
  </para>
    <mediaobject>
       <imageobject role="html">
          <imagedata fileref="images/namespaceregistry.png" format="PNG" align="center"/>
       </imageobject>
       <imageobject role="fo">
          <imagedata fileref="images/namespaceregistry.png" format="PNG" align="center" width="150mm" />
       </imageobject>
    </mediaobject>
      <citetitle>
	<para xml:id="proc-User_Guide-The_Namespace_Registry-Registering_a_Namespace"><emphasis role="bold">Register a namespace</emphasis></para>
    </citetitle>
      <procedure>
      <step>
    <para>
     Click the <emphasis role="bold">Register</emphasis> button on the <emphasis role="bold">Namespace Registry</emphasis> form to register a new namespace.
    </para>
        <mediaobject>
           <imageobject role="html">
              <imagedata fileref="images/namespaceregistrationform.png" format="PNG" align="center"/>
           </imageobject>
           <imageobject role="fo">
              <imagedata fileref="images/namespaceregistrationform.png" format="PNG" align="center" width="100mm" scalefit="1" />
           </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Enter the value for the <emphasis role="bold">Namespace Prefix</emphasis> field that is required.
    </para>
      </step>
      <step>
        <para>
     Enter the value for the <emphasis role="bold">URI</emphasis> field which must be unique and required.
    </para>
        <note>
          <para>
      The namespace must not contain special characters, such as !,@,#,$,%,&amp;,*,(,).
     </para>
        </note>
      </step>
    </procedure>
  </section>
  <section id="sect-User_Guide-Content_Types-Manage_Node_Types">
    <title>Manage node types</title>
    <para>
   This function is used to control all node types in &PRODUCT;.
  </para>
    <mediaobject>
       <imageobject role="html">
          <imagedata fileref="images/themanagenodetypeform.png" format="PNG" align="center"/>
       </imageobject>
       <imageobject role="fo">
          <imagedata fileref="images/themanagenodetypeform.png" format="PNG" align="center" width="150mm"/>
       </imageobject>
    </mediaobject>
	
	<citetitle>
	<para xml:id="sect-User_Guide-Content_Types-View_Node_Types"><emphasis role="bold">View node types</emphasis></para>
    </citetitle>
    <procedure>
      <step>
        <para>
     Click <inlinemediaobject>
            <imageobject>
              <imagedata fileref="images/Glass_icon.png" format="PNG" width="4mm" scalefit="1" />
            </imageobject>
            <textobject>
              <phrase>[ Glass icon ]</phrase>
            </textobject>
          </inlinemediaobject> that corresponds to the node you want to view. The <emphasis role="bold">View Node Type Information</emphasis> form will appear.
    </para>
        <mediaobject>
           <imageobject role="html">
              <imagedata fileref="images/viewnodetypeinformation.png" format="PNG" align="center"/>
           </imageobject>
           <imageobject role="fo">
              <imagedata fileref="images/viewnodetypeinformation.png" format="PNG" align="center" width="100mm" scalefit="1"/>
           </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Click <emphasis role="bold">Close</emphasis> to exit this form.
    </para>
      </step>
    </procedure>
      <citetitle>
	<para xml:id="proc-User_Guide-View_Node_Types-Add_Node_Type"><emphasis role="bold">Add a node type</emphasis></para>
    </citetitle>
      <procedure>
      <step>
        <para xml:id="figu-User_Guide-Add_Node_Type-Add_Node_Type_Form">
     Open the <emphasis role="bold">Add/Edit Node Type Definitions</emphasis> form by clicking the <emphasis role="bold">Add</emphasis> button on the <emphasis role="bold">Manage Node Type</emphasis> page.
    </para>
          <mediaobject>
             <imageobject role="html">
                <imagedata fileref="images/addnodetype.png" format="PNG" align="center"/>
             </imageobject>
             <imageobject role="fo">
                <imagedata fileref="images/addnodetype.png" format="PNG" align="center" width="100mm" scalefit="1" />
             </imageobject>
          </mediaobject>
      </step>
      <step>
        <para>
     Select a namespace for the node.
    </para>
      </step>
      <step>
        <para>Enter a name in the <emphasis role="bold">Node Type Name</emphasis> field. This field is mandatory and its value must be unique.</para>
        <note>
          <para>
      The name must not contain special characters, such as !,@,#,$,%,&amp;,*,(,).
     </para>
        </note>
      </step>
      <step>
        <para>
     Select a value for the <emphasis role="bold">Is Mixin Type</emphasis> field.
    </para>
        <itemizedlist>
          <listitem>
            <para>
       True: This node is Mixin type.
      </para>
          </listitem>
          <listitem>
            <para>
       False: This node is not Mixin type.
      </para>
          </listitem>
        </itemizedlist>
      </step>
      <step>
        <para>
     Select a value for the <emphasis role="bold">Orderable Child Nodes</emphasis> field.
    </para>
        <itemizedlist>
          <listitem>
            <para>
       True: Child nodes are ordered.
      </para>
          </listitem>
          <listitem>
            <para>
       False: Child nodes are not ordered.
      </para>
          </listitem>
        </itemizedlist>
      </step>
      <step>
        <para>
     Enter a value for the <emphasis role="bold">Primary Item Name</emphasis> field.
    </para>
      </step>
      <step>
        <para>
     Click <inlinemediaobject>
            <imageobject>
              <imagedata width="4mm" scalefit="1" fileref="images/Add_icon.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>[ Plus icon ]</phrase>
            </textobject>
          </inlinemediaobject> to add more parent types in the <emphasis role="bold">Super Types</emphasis> field.
    </para>
    <itemizedlist>
	<listitem>
        <para>
    <emphasis role="bold">Property Definitions</emphasis>: List all definition names of the <emphasis role="bold">Property</emphasis> tab.
    </para>
	</listitem>
    <listitem>
    <para>
    <emphasis role="bold">Child Node Definitions</emphasis>: List all definition names of the <emphasis role="bold">Child Node</emphasis> tab.
    </para>
	</listitem>
	</itemizedlist>
      </step>
      <step>
        <para>
     Click <emphasis role="bold">Save</emphasis> to accept adding a new node type, or <emphasis role="bold">Save as Draft</emphasis> to save this node type as draft.
    </para>
      </step>
    </procedure>
      <citetitle>
	<para xml:id="proc-User_Guide-View_Node_Types-Export_Node_Types"><emphasis role="bold">Export Node Types</emphasis></para>
    </citetitle>
      <procedure>
      <step>
    <para>
     Open the <emphasis role="bold">Export Node Types</emphasis> form by clicking the <emphasis role="bold">Export</emphasis> button at the bottom of the <emphasis role="bold">Manage Node Type</emphasis> page.
    </para>
      <mediaobject>
         <imageobject role="html">
            <imagedata fileref="images/exportnodetypes.png" format="PNG" align="center"/>
         </imageobject>
         <imageobject role="fo">
            <imagedata fileref="images/exportnodetypes.png" format="PNG" align="center" width="100mm" scalefit="1" />
         </imageobject>
      </mediaobject>
      </step>
      <step>
        <para>
     Click <emphasis role="bold">Uncheck all</emphasis> if you do not want to export all node types. After clicking <emphasis role="bold">Uncheck all</emphasis>, this button becomes the <emphasis role="bold">Check all</emphasis> button.
    </para>
      </step>
      <step>
        <para>
     Select nodes that you want to export by ticking the checkboxes.
    </para>
      </step>
      <step>
        <para>
     Click the <emphasis role="bold">Export</emphasis> button in this form.
    </para>
      </step>
      <step>
        <para>
     Select the location in your device to save the exported node.
    </para>
        <note>
          <para>
      You must select at least 1 node type to be exported. If you do not want to export the node, click <emphasis role="bold">Cancel</emphasis> to quit this pop-up.
     </para>
        </note>
      </step>
    </procedure>
      <citetitle>
	<para xml:id="proc-User_Guide-View_Node_Types-Import_Node_Types"><emphasis role="bold">Import Node Types</emphasis></para>
    </citetitle>
      <procedure>
      <step>
        <para>
     Open the <emphasis role="bold">Import Node Type From XML File</emphasis> form by clicking the <emphasis role="bold">Import</emphasis> button at the bottom of the <emphasis role="bold">Manage Node Type</emphasis> page.
    </para>
        <mediaobject>
           <imageobject role="html">
              <imagedata fileref="images/importnodetype.png" format="PNG" align="center"/>
           </imageobject>
           <imageobject role="fo">
              <imagedata fileref="images/importnodetype.png" format="PNG" align="center" width="100mm" scalefit="1" />
           </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Click the <emphasis role="bold">Browse...</emphasis> button to upload a file.
    </para>
        <note>
          <para>
      You must upload an XML file. This file is in the node type&apos;s format.
     </para>
        </note>
      </step>
      <step>
        <para>
     Click the <emphasis role="bold">Upload</emphasis> button.
    </para>
        <note>
          <para>
      If you want to upload another file, click   
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="images/Delete_icon.png" format="PNG" scalefit="1" width="4mm"/>
            </imageobject>
          </inlinemediaobject> to delete the file which has just been uploaded, then upload other files.
     </para>
        </note>
      </step>
      <step>
        <para>
     Tick the checkboxes corresponding to the nodes that you want to import.
    </para>
      </step>
      <step>
        <para>
     Click the <emphasis role="bold">Import</emphasis> button to complete importing a node type.
    </para>
      </step>
    </procedure>
</section>
</section>