<?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>
  <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
        <menuchoice><guimenu>Content Types</guimenu><guimenuitem>Namespace Registry</guimenuitem></menuchoice> to open the <guilabel>Namespace Registry</guilabel> 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 <guibutton>Register</guibutton> on the <guilabel>Namespace Registry</guilabel> 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 <guilabel>Namespace Prefix</guilabel> field that is required.
    </para>
      </step>
      <step>
        <para>
     Enter the value for the <guilabel>URI</guilabel> 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 <guilabel>View Node Type Information</guilabel> 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 <guibutton>Close</guibutton> 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 <guilabel>Add/Edit Node Type Definitions</guilabel> form by clicking <guibutton>Add</guibutton> 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 <guilabel>Node Type Name</guilabel> 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 <guilabel>Is Mixin Type</guilabel> 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 <guilabel>Orderable Child Nodes</guilabel> 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 <guilabel>Primary Item Name</guilabel> 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 <guilabel>Super Types</guilabel> field.
    </para>
    <itemizedlist>
	<listitem>
        <para>
    <guilabel>Property Definitions</guilabel>: List all definition names of the <guilabel>Property</guilabel> tab.
    </para>
	</listitem>
    <listitem>
    <para>
    <guilabel>Child Node Definitions</guilabel>: List all definition names of the <guilabel>Child Node</guilabel> tab.
    </para>
	</listitem>
	</itemizedlist>
      </step>
      <step>
        <para>
     Click <guibutton>Save</guibutton> to accept adding a new node type, or <guibutton>Save as Draft</guibutton> 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 <guilabel>Export Node Types</guilabel> form by clicking the <guibutton>Export</guibutton> 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 <guilabel>Uncheck all</guilabel> if you do not want to export all node types. After clicking <guilabel>Uncheck all</guilabel>, this button becomes the <guilabel>Check all</guilabel> button.
    </para>
      </step>
      <step>
        <para>
     Select nodes that you want to export by ticking the checkboxes.
    </para>
      </step>
      <step>
        <para>
     Click the <guibutton>Export</guibutton> 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 <guibutton>Cancel</guibutton> 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 <guilabel>Import Node Type From XML File</guilabel> form by clicking the <guibutton>Import</guibutton> 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 <guibutton>Browse...</guibutton> 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 <guibutton>Upload</guibutton> 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 <guibutton>Import</guibutton> to complete importing a node type.
    </para>
      </step>
    </procedure>
</section>
</section>