Difference between revisions of "Reference:XML tags in geogebra macro.xml"
From GeoGebra Manual
m (typo fixed) |
(Format for GeoGebra 6.0) |
||
(7 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=== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<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"><geogebra<div style="margin-left: 0.5em">format="xs:double [0..1]"</div>> <br/> | + | <div style="margin-left: 0em"><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>> <br/> | ||
<div style="margin-left: 1.5em"><[[#Element:_macro|macro]]> ... </[[#Element:_macro|macro]]> [1..*]</div></geogebra></div> | <div style="margin-left: 1.5em"><[[#Element:_macro|macro]]> ... </[[#Element:_macro|macro]]> [1..*]</div></geogebra></div> | ||
</div> | </div> | ||
− | |||
</div> | </div> | ||
===Element: macro=== | ===Element: macro=== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<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"><macro<div style="margin-left: 0.5em">cmdName="xs:string [0..1]"</div> | <div style="margin-left: 0em"><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>> <br/> | <div style="margin-left: 0.5em">showInToolBar="xs:boolean [0..1]"</div>> <br/> | ||
− | + | <div style="margin-left: 1.5em"><macroInput> [[Reference:Common XML tags and types#Type:_ioType|ioType]] </macroInput> [1]</div> | |
− | <div style="margin-left: 1.5em"><macroInput> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><macroOutput> [[Reference:Common XML tags and types#Type:_ioType|ioType]] </macroOutput> [1]</div> |
− | <div style="margin-left: 1.5em"><macroOutput> [[Reference:Common XML tags and types# | ||
<div style="margin-left: 1.5em"><[[Reference:Common XML tags and types#Element:_construction|construction]]> ... </[[Reference:Common XML tags and types#Element:_construction|construction]]> [1]</div></macro></div> | <div style="margin-left: 1.5em"><[[Reference:Common XML tags and types#Element:_construction|construction]]> ... </[[Reference:Common XML tags and types#Element:_construction|construction]]> [1]</div></macro></div> | ||
− | |||
</div> | </div> | ||
</div> | </div> |
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
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]
<construction> ... </construction> [1]
</macro>