Difference between revisions of "Reference:XML tags in geogebra macro.xml"

From GeoGebra Manual
Jump to: navigation, search
m (sort key)
(xsd update)
Line 7: Line 7:
 
===Element: geogebra===
 
===Element: geogebra===
 
                
 
                
  <table class="properties">
 
      <tr>
 
        <th>Name</th>
 
        <td>geogebra</td>
 
      </tr>
 
      <tr>
 
 
        <th>Type</th>
 
        <td>Locally-defined complex type</td>
 
      </tr>
 
      <tr>
 
        <th>Nillable</th>
 
        <td>no</td>
 
      </tr>
 
 
      <tr>
 
        <th>Abstract</th>
 
        <td>no</td>
 
      </tr>
 
  </table>
 
 
   <div class="sample box">
 
   <div class="sample box">
 
       <div>XML Instance Representation</div>
 
       <div>XML Instance Representation</div>
 
 
       <div id="Element:_geogebra_xibox" class="contents">
 
       <div id="Element:_geogebra_xibox" class="contents">
 
         <div style="margin-left: 0em">&lt;geogebra<div style="margin-left: 0.5em">format="xs:double [0..1]"</div>&gt; <br/>
 
         <div style="margin-left: 0em">&lt;geogebra<div style="margin-left: 0.5em">format="xs:double [0..1]"</div>&gt; <br/>
 
             <div style="margin-left: 1.5em">&lt;[[#Element:_macro|macro]]&gt; ... &lt;/[[#Element:_macro|macro]]&gt; [1..*]</div>&lt;/geogebra&gt;</div>
 
             <div style="margin-left: 1.5em">&lt;[[#Element:_macro|macro]]&gt; ... &lt;/[[#Element:_macro|macro]]&gt; [1..*]</div>&lt;/geogebra&gt;</div>
 
       </div>
 
       </div>
 
 
   </div>
 
   </div>
  
 
===Element: macro===
 
===Element: macro===
 
                
 
                
  <table class="properties">
 
      <tr>
 
        <th>Name</th>
 
        <td>macro</td>
 
      </tr>
 
      <tr>
 
 
        <th>Type</th>
 
        <td>Locally-defined complex type</td>
 
      </tr>
 
      <tr>
 
        <th>Nillable</th>
 
        <td>no</td>
 
      </tr>
 
 
      <tr>
 
        <th>Abstract</th>
 
        <td>no</td>
 
      </tr>
 
  </table>
 
 
   <div class="sample box">
 
   <div class="sample box">
 
       <div>XML Instance Representation</div>
 
       <div>XML Instance Representation</div>
 
 
       <div id="Element:_macro_xibox" class="contents">
 
       <div id="Element:_macro_xibox" class="contents">
 
         <div style="margin-left: 0em">&lt;macro<div style="margin-left: 0.5em">cmdName="xs:string [0..1]"</div>
 
         <div style="margin-left: 0em">&lt;macro<div style="margin-left: 0.5em">cmdName="xs:string [0..1]"</div>
Line 68: Line 25:
 
             <div style="margin-left: 0.5em">iconFile="xs:string [0..1]"</div>
 
             <div style="margin-left: 0.5em">iconFile="xs:string [0..1]"</div>
 
             <div style="margin-left: 0.5em">showInToolBar="xs:boolean [0..1]"</div>&gt; <br/>
 
             <div style="margin-left: 0.5em">showInToolBar="xs:boolean [0..1]"</div>&gt; <br/>
 
 
             <div style="margin-left: 1.5em">&lt;macroInput&gt; [[Reference:Common XML tags and types#Type:_ioType|ioType]] &lt;/macroInput&gt; [1]</div>
 
             <div style="margin-left: 1.5em">&lt;macroInput&gt; [[Reference:Common XML tags and types#Type:_ioType|ioType]] &lt;/macroInput&gt; [1]</div>
 
             <div style="margin-left: 1.5em">&lt;macroOutput&gt; [[Reference:Common XML tags and types#Type:_ioType|ioType]] &lt;/macroOutput&gt; [1]</div>
 
             <div style="margin-left: 1.5em">&lt;macroOutput&gt; [[Reference:Common XML tags and types#Type:_ioType|ioType]] &lt;/macroOutput&gt; [1]</div>
 
             <div style="margin-left: 1.5em">&lt;[[Reference:Common XML tags and types#Element:_construction|construction]]&gt; ... &lt;/[[Reference:Common XML tags and types#Element:_construction|construction]]&gt; [1]</div>&lt;/macro&gt;</div>
 
             <div style="margin-left: 1.5em">&lt;[[Reference:Common XML tags and types#Element:_construction|construction]]&gt; ... &lt;/[[Reference:Common XML tags and types#Element:_construction|construction]]&gt; [1]</div>&lt;/macro&gt;</div>
 
 
       </div>
 
       </div>
 
   </div>
 
   </div>

Revision as of 23:19, 6 January 2013

Following document was generated by a modification of xs3p stylesheet. It contains definitions of tags used in geogebra_macro.xml, which is the most important part of .ggt files. For a brief introduction see XML reference.

Global Declarations

Element: geogebra

XML Instance Representation
<geogebra
format="xs:double [0..1]"
>
<macro> ... </macro> [1..*]
</geogebra>

Element: macro

XML Instance Representation
<macro
cmdName="xs:string [0..1]"
toolName="xs:string [0..1]"
toolHelp="xs:string [0..1]"
iconFile="xs:string [0..1]"
showInToolBar="xs:boolean [0..1]"
>
<macroInput> ioType </macroInput> [1]
<macroOutput> ioType </macroOutput> [1]
</macro>
© 2024 International GeoGebra Institute