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

From GeoGebra Manual
Jump to: navigation, search
m (category)
(Format for GeoGebra 6.0)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Following document was generated by a modification of [http://sourceforge.net/projects/xs3p/ xs3p] stylesheet. It contains definitions of tags used in geogebra_macro.xml, which is the most important part of  [[Reference:File Format#.ggt_-_GeoGebra_Worksheet|.ggt files]]. For a brief introduction see [[Reference:Xml|XML reference]].
 
Following document was generated by a modification of [http://sourceforge.net/projects/xs3p/ xs3p] stylesheet. It contains definitions of tags used in geogebra_macro.xml, which is the most important part of  [[Reference:File Format#.ggt_-_GeoGebra_Worksheet|.ggt files]]. For a brief introduction see [[Reference:Xml|XML reference]].
 +
[[Category:Reference|XML tags in geogebra macro.xml]]
  
 
==Global Declarations==
 
==Global Declarations==
Line 6: 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>
 +
            <div style="margin-left: 0.5em">version="xs:string [0..1]"</div>
 +
            <div style="margin-left: 0.5em">app="xs:string [0..1]"</div>
 +
            <div style="margin-left: 0.5em">platform="xs:string [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 67: Line 28:
 
             <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#Simple_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#Simple_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>
[[Category:Reference]]
 

Latest revision as of 00:27, 20 June 2018

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]"
version="xs:string [0..1]"
app="xs:string [0..1]"
platform="xs:string [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