<?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>The Namespace Registry</title>
    <para>
       The namespace is a prefix in the node type name. It allows you to create node types without potentially conflicting with existing node types.
      </para>
      <para>
         The registry helps you manage the namespaces used in the system.
      </para>
    <para>
   Go to <menuchoice>
      <guimenu>Groups</guimenu>
      <guimenuitem>Administration</guimenuitem>
   </menuchoice> the click on <menuchoice>
      <guimenu>Content Types</guimenu>
      <guimenuitem>Namespace Registry</guimenuitem>
   </menuchoice> to open the Namespace Registry 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>
    <procedure id="proc-User_Guide-The_Namespace_Registry-Registering_a_Namespace">
      <title>Registering a Namespace</title>
      <step>
        <para>
     Click the <guibutton>Register</guibutton> button 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="150mm" />
           </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Enter a value for the <guilabel>Namespace Prefix</guilabel> field. This field is required (*).
    </para>
      </step>
      <step>
        <para>
     Enter a value for the URI field. This field must be unique. This field is required (*).
    </para>
        <important>
           <title>Special Characters</title>
          <para>
      The namespace must not contain special characters like !,@,#,$,%,&amp;,*,(,).
     </para>
        </important>
      </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>
  </section>
  <section id="sect-User_Guide-Content_Types-View_Node_Types">
    <title>View Node Types</title>
    <procedure>
      <step>
        <para>
     Click the icon that corresponds to the node to be reviewed. 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="150mm"/>
           </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Click <guibutton>Close</guibutton> to exit this form.
    </para>
      </step>
    </procedure>
    <procedure id="proc-User_Guide-View_Node_Types-Add_Node_Type">
      <title>Add Node Type</title>
      <step>
        <para>
     Open the <guilabel>Add/Edit Node Type Definitions</guilabel> form by clicking the <guibutton>Add</guibutton> button on the <guilabel>Manage Node Type</guilabel> form.
    </para>
        <figure id="figu-User_Guide-Add_Node_Type-Add_Node_Type_Form">
          <title>Add Node Type Form</title>
          <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="150mm" />
             </imageobject>
          </mediaobject>
        </figure>
      </step>
      <step>
        <para>
     Select a namespace for the node.
    </para>
      </step>
      <step>
        <para>Enter a name in the Node type name field. This field is mandatory and its value must be unique.</para>
        <important>
           <title>Special Characters</title>
          <para>
      The name must not contain special characters like !,@,#,$,%,&amp;,*,(,).
     </para>
        </important>
      </step>
      <step>
        <para>
     Select a value for the <guilabel>Is mixin type</guilabel> field.
    </para>
        <itemizedlist>
          <listitem>
            <para>
       <parameter>True</parameter>: this node is <systemitem>mixin</systemitem> type.
      </para>
          </listitem>
          <listitem>
            <para>
       <parameter>False</parameter>: this node is not <systemitem>mixin</systemitem> type.
      </para>
          </listitem>
        </itemizedlist>
      </step>
      <step>
        <para>
     Select a value for the <guilabel>Orderable child nodes</guilabel> field:
    </para>
        <itemizedlist>
          <listitem>
            <para>
       <parameter>True</parameter>: child nodes are ordered.
      </para>
          </listitem>
          <listitem>
            <para>
       <parameter>False</parameter>: 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>
     <parameter>Super Types</parameter>: Click the <inlinemediaobject>
              <imageobject>
                <imagedata fileref="images/addplusicon.png" format="PNG" width="8mm"/>
              </imageobject>
              <textobject>
                 <phrase>plus</phrase>
              </textobject>
            </inlinemediaobject> button to add more parent types.
    </para>
      </step>
      <step>
        <para>
     <parameter>Property definitions</parameter>: lists all definition names of <guilabel>Property</guilabel> tab.
    </para>
      </step>
      <step>
        <para>
     <parameter>Child node definitions</parameter>: lists all definition names of <guilabel>Child node</guilabel> tab.
    </para>
      </step>
      <step>
        <para>
     Click <guibutton>Save</guibutton> to accept adding a new node type, or <guibutton>Save draft</guibutton> to save this node type as a draft, or <guibutton>Cancel</guibutton> to quit.
    </para>
      </step>
    </procedure>
    <procedure id="proc-User_Guide-View_Node_Types-Export_Node_Types">
      <title>Export Node Types</title>
      <step>
        <para>
     Open the Export Node Types form by clicking the <guibutton>Export</guibutton> button on the <guilabel>Manage Node Type</guilabel> Form.
    </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="130mm" />
         </imageobject>
      </mediaobject>
      </step>
      <step>
        <para>
     Click <guibutton>Uncheck all</guibutton> if you do not want to export all node types. After clicking <guibutton>Uncheck all</guibutton>, this button becomes the <guibutton>Check all</guibutton> 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 computer to save the exported node.
    </para>
        <important>
          <para>
      You must select at least one node type to be exported. If you do not want to export the node, click <guibutton>Cancel</guibutton> to quit this pop-up.
     </para>
        </important>
      </step>
    </procedure>
    <procedure id="proc-User_Guide-View_Node_Types-Import_Node_Types">
      <title>Import Node Types</title>
      <step>
        <para>
     Open the <guilabel>Import Node Type from XML</guilabel> file form by clicking the <guibutton>Import</guibutton> button on the <guilabel>Manage Node Type</guilabel> form.
    </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="130mm" />
           </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Click the <guibutton>Browse</guibutton> button to upload a file.
    </para>
        <mediaobject>
           <imageobject role="html">
              <imagedata fileref="images/browsefornodes.png" format="PNG" align="center"/>
           </imageobject>
           <imageobject role="fo">
              <imagedata fileref="images/browsefornodes.png" format="PNG" align="center" width="129mm" />
           </imageobject>
        </mediaobject>
        <important>
          <para>
      You must upload an XML file. This file is in the node type&apos;s format.
     </para>
        </important>
      </step>
      <step>
        <para>
     Click the <guibutton>Upload</guibutton> button.
    </para>
        <note>
          <para>
      If you want to upload a different file, click the <inlinemediaobject>
            <imageobject>
              <imagedata fileref="images/trashicon.png" format="PNG" width="5mm"/>
            </imageobject>
            <textobject>
               <phrase>trash can</phrase>
            </textobject>
          </inlinemediaobject> icon 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 <guilabel>Import</guilabel> button to complete importing a node type.
    </para>
      </step>
    </procedure>
  </section>
</section>
