<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DTDProfile SYSTEM "profile.dtd">
<!--XSTEP Profile
-->
<!--Author: Zhisheng Huang
-->
<!---->
<DTDProfile title="XSTEP Editor">
  <defaults encoding="UTF-8" systemLiteral="step.dtd"/>
  <elements>


<element icon="icon/head.gif" name="head" tooltip="step head">
</element>

<element icon="icon/start.gif" name="start" tooltip="starting action">
<attribute editor="TextField" name="action" tooltip="action CDATA #REQUIRED"/>
<attribute editor="TextField" name="library" tooltip="library CDATA #IMPLIED"/>
</element>

<element icon="icon/meta.gif" name="meta_language" tooltip="meta language">
<attribute editor="TextField" name="value" tooltip="dlp|java|prolog or other languages"/>
</element>


<element icon="icon/world.gif" name="world" tooltip="3D Virtual World">
<attribute editor="TextField" name="url" tooltip="URL CDATA #REQUIRED"/>

</element>

<element icon="icon/library.gif" name="library" tooltip="action library">
      <attribute editor="TextField" name="name" tooltip="name CDATA #IMPLIED"/>
</element>

<element icon="icon/tempo.gif" name="set_tempo" tooltip="set tempo">
      <attribute editor="TextField" name="value" tooltip="tempo value must be a number."/>
</element>

    <element icon="icon/action.gif" name="action" tooltip="action">
      <attribute editor="TextField" name="name" tooltip="name CDATA #REQUIRED"/>
</element>
   <element icon="icon/move.gif" name="move" tooltip="move body part">
      <attribute editor="TextField" name="actor" tooltip="actor CDATA #REQUIRED"/>
 	<attribute editor="TextField" name="part" tooltip="part NMTOKEN #REQUIRED"/>
    </element>

<element icon="icon/turn.gif" name="turn" tooltip="turn body part.">
      <attribute editor="TextField" name="actor" tooltip="actor CDATA #REQUIRED"/>
 	<attribute editor="TextField" name="part" tooltip="part CDATA #REQUIRED"/>
</element>
 <element icon="icon/move.gif" name="move_body" tooltip="move humanoid.">
      <attribute editor="TextField" name="actor" tooltip="actor CDATA #REQUIRED"/>
	 </element>

<element icon="icon/dir.gif" name="dir" tooltip="Direction">
      <attribute editor="TextField" name="value" tooltip="Direciton value"/>
 </element>

<element icon="icon/increment.gif" name="increment" tooltip="Increment">
      <attribute editor="TextField" name="x" tooltip="X value"/>
 	<attribute editor="TextField" name="y" tooltip="Y value"/>
 <attribute editor="TextField" name="z" tooltip="Z value"/>
 </element>

<element icon="icon/position.gif" name="position" tooltip="position">
      <attribute editor="TextField" name="x" tooltip="X value"/>
 	<attribute editor="TextField" name="y" tooltip="Y value"/>
 <attribute editor="TextField" name="z" tooltip="Z value"/>
 </element>

<element icon="icon/rotation.gif" name="rotation" tooltip="Rotation">
      <attribute editor="TextField" name="x" tooltip="X value"/>
 	<attribute editor="TextField" name="y" tooltip="Y value"/>
 <attribute editor="TextField" name="z" tooltip="Z value"/>
 <attribute editor="TextField" name="r" tooltip="R value"/>
 </element>

<element icon="icon/speed.gif" name="speed" tooltip="Speed">
      <attribute editor="TextField" name="value" tooltip="Speed value"/>
 	 </element>

<element icon="icon/time.gif" name="time" tooltip="Time">
      <attribute editor="TextField" name="value" tooltip="Time value"/>
 	<attribute editor="TextField" name="unit" tooltip="unit (second|minute|beat)"/>
 </element>



<element icon="icon/do.gif" name="do" tooltip="make the state true.">
      <attribute editor="TextField" name="state" tooltip="state CDATA #REQUIRED"/>
 </element>
<element icon="icon/if.gif" name="if_then_else" tooltip="conditional">
      <attribute editor="TextField" name="condition" tooltip="condition CDATA #REQUIRED"/>
	<attribute editor="TextField" name="then" tooltip="then CDATA #REQUIRED"/>
	<attribute editor="TextField" name="else" tooltip="else CDATA #REQUIRED"/>
 </element>
<element icon="icon/repeat.gif" name="repeat" tooltip="repeat the action for n times.">
      <attribute editor="TextField" name="action" tooltip="action CDATA #REQUIRED"/>
	<attribute editor="TextField" name="times" tooltip="times CDATA #REQUIRED"/>
 </element>

<element icon="icon/action.gif" name="script_action" tooltip="script action">
      <attribute editor="TextField" name="name" tooltip="name CDATA #REQUIRED"/>
</element>



 <element icon="icon/seq.gif" name="seq" tooltip="sequential actions">
</element>

 <element icon="icon/par.gif" name="par" tooltip="parallel actions">
</element>

 <element icon="icon/step.jpg" name="step" tooltip="Step">
</element>

<element icon="icon/choice.gif" name="choice" tooltip="choice">
</element>

    <element name="XML_COMMENT" tooltip="Comment -&#10;Use it anywhere to make the document clearer."/>
    <element name="XML_TEXT" tooltip="TEXT"/>
    <element name="XML_CDATA" tooltip="CDATA Section -&#10;Use it to store marked-up text that you want to store as data."/>
    <element name="XML_PI" tooltip="Processing Instruction (PI) -&#10;Use it to pass directions and information to programs."/>
    <element name="XML_DOCUMENT_TYPE" tooltip="Document Type."/>
  </elements>
  <documents>
    <document description="xstep document." root="step" suffix="add"/>
  </documents>
  <palettes>
    <toolbarpalette title="Standard">
      <group elements="XML_TEXT XML_CDATA XML_COMMENT XML_PI"/>
      <group elements="XML_DOCUMENT_TYPE"/>
    </toolbarpalette>
    <sidebarpalette all-visible="no" title="Elements">
      <group elements="step action seq  par  choice turn move move_body do  if_then_else repeat  script_action dir increment position rotation speed time library head start world meta_language set_tempo" />
    </sidebarpalette>
  </palettes>
  <importers/>
  <exporters/>
  <tools>
    <tool class-name="com.ibm.hrl.xmleditor.extension.xsl.XSLHandler" init-data="default.viewer=C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe&#10;default.stylesheet=step.xsl&#10;default.result=actionlib.txt&#10;default.tooltip=XSTEPtoSTEP"/>
     <tool class-name="com.ibm.hrl.xmleditor.extension.xsl.XSLHandler" init-data="default.viewer=C:\\Program Files\\netscape\\communicator\\program\\netscape.exe&#10;default.stylesheet=step2html.xsl&#10;default.result=actionlib.htm&#10;default.tooltip=XSTEPtoHTML"/>
     

</tools>
</DTDProfile>
