XML tags in geogebra.xml

Following document was generated by a modification of xs3p stylesheet. It contains definitions of tags used in geogebra.xml, which is the most important part of .ggb files. For a brief introduction see XML reference. Explanation of XML-related terms can be found in XML Glossary.

Global Declarations

Element: algebraView

XML Instance Representation

<algebraView>

<auxiliary

show="xs:boolean [0..1]"

/> [0..1]

<collapsed> stringVal </collapsed> [0..1]

<mode

val="nonNegInt [0..1]"

/> [0..1]

</algebraView>

Element: axis

XML Instance Representation

<axis

id="axisIds [1]"

show="xs:boolean [0..1]"

label="xs:string [0..1]"

unitLabel="xs:string [0..1]"

tickStyle="tickStyles [0..1]"

tickDistance="xs:double [0..1]"

axisCross="xs:double [0..1]"

positiveAxis="xs:boolean [0..1]"

showNumbers="xs:boolean [0..1]"

/>

Element: euclidianView

XML Instance Representation

<euclidianView>

<viewNumber

viewNo="positiveInt [0..1]"

/> [0..1]

<size> …​ </size> [0..1]

<coordSystem

xZero="xs:double [0..1]"

yZero="xs:double [0..1]"

scale="xs:double [0..1]"

xscale="xs:double [0..1]"

yscale="xs:double [0..1]"

/> [1]

<evSettings

axes="xs:boolean [0..1]"

grid="xs:boolean [0..1]"

gridIsBold="xs:boolean [0..1]"

pointCapturing="pointCapturings [0..1]"

pointStyle="pointStyles [0..1]"

rightAngleStyle="rightAngleStyles [0..1]"

checkboxSize="nonNegInt [0..1]"

gridType="gridTypes [0..1]"

/> [1]

<bgColor> rgbColor </bgColor> [1]

<axesColor> rgbColor </axesColor> [1]

<gridColor> rgbColor </gridColor> [1]

<lineStyle

axes="axisTypes [0..1]"

grid="lineTypes [0..1]"

/> [1]

<axis> …​ </axis> [2..2]

<grid

distX="xs:double [0..1]"

distY="xs:double [0..1]"

distTheta="xs:double [0..1]"

/> [0..1]

</euclidianView>

Element: euclidianView3D

XML Instance Representation

<euclidianView3D>

<size> …​ </size> [0..1]

<coordSystem

xZero="xs:double [0..1]"

yZero="xs:double [0..1]"

zZero="xs:double [0..1]"

scale="xs:double [0..1]"

xAngle="xs:double [0..1]"

zAngle="xs:double [0..1]"

/> [1]

<evSettings> …​ </evSettings> [0..1]

<axis> …​ </axis> [3..3]

<plate

show="xs:boolean [0..1]"

/> [1]

<bgColor> rgbColor </bgColor> [1]

<grid

show="xs:boolean [0..1]"

/> [0..1]

<clipping

use="xs:boolean [0..1]"

show="xs:boolean [0..1]"

size="nonNegInt [0..1]"

/> [1]

<projection

type="nonNegInt [0..1]"

distance="nonNegInt [0..1]"

separation="nonNegInt [0..1]"

obliqueAngle="xs:double [0..1]"

obliqueFactor="xs:double [0..1]"

/> [1]

</euclidianView3D>

Element: geogebra

XML Instance Representation

<geogebra

format="xs:double [0..1]"

version="xs:string [0..1]"

id="xs:string [0..1]"

app="xs:string [0..1]"

platform="xs:string [0..1]"

>

<gui> …​ </gui> [1]

<euclidianView> …​ </euclidianView> [0..2]

<euclidianView3D> …​ </euclidianView3D> [0..1]

<spreadsheetView> …​ </spreadsheetView> [0..1]

<algebraView> …​ </algebraView> [0..1]

<keyboard> …​ </keyboard> [0..1]

<kernel> …​ </kernel> [1]

<scripting> …​ </scripting> [0..1]

<euclidianView3D> …​ </euclidianView3D> [0..1]

<construction> …​ </construction> \[0..1]

</geogebra>

Element: gui

XML Instance Representation

<gui>

Start Choice [0..*]

<window

width="positiveInt [1]"

height="positiveInt [1]"

/> [0..1]

<perspectives> [0..1]

<perspective> …​ </perspective> [1..*]

</perspectives>

<settings

ignoreDocument="xs:boolean [0..1]"

showTitleBar="xs:boolean [0..1]"

allowStyleBar="xs:boolean [0..1]"

/> [1]

<labelingStyle> intVal </labelingStyle> [0..1]

<mouse

reverseWheel="xs:boolean [0..1]"

/> [1]

<consProtColumns

col0="xs:boolean [0..1]"

col1="xs:boolean [0..1]"

col2="xs:boolean [0..1]"

col3="xs:boolean [0..1]"

col4="xs:boolean [0..1]"

col5="xs:boolean [0..1]"

col6="xs:boolean [0..1]"

col7="xs:boolean [0..1]"

/> [0..1]

<consProtocol

useColors="xs:boolean [0..1]"

addIcons="xs:boolean [0..1]"

showOnlyBreakpoints="xs:boolean [0..1]"

/> [0..1]

<dataAnalysis

mode="xs:int [0..1]"

<variable> …​ </variable> [1]

</dataAnalysis>

<consProtNavigationBar

show="xs:boolean [0..1]"

playButton="xs:boolean [0..1]"

playDelay="xs:double [0..1]"

protButton="xs:boolean [0..1]"

consStep="xs:int [0..1]"

/> [0..1]

<show> …​ </show> [0..1]

<splitDivider> …​ </splitDivider> [0..1]

<toolbar> …​ </toolbar> [0..1]

<font

size="positiveInt [1]"

/> [0..1]

<menuFont

size="xs:int [1]"

/> [0..1]

<tooltipSettings

timeout="xs:int [0..1]"

language="xs:string [0..1]"

/> [0..1]

<graphicsSettings

javaLatexFonts="xs:boolean [0..1]"

/> [1]

End Choice

</gui>

Element: kernel

XML Instance Representation

<kernel>

Start All [0..1]

<uses3D> boolVal </uses3D> [0..1]

<continuous> boolVal </continuous> [0..1]

<usePathAndRegionParameters> stringVal </usePathAndRegionParameters> [0..1]

<decimals> intVal </decimals> [1]

<significantFigures> intVal </significantFigures> [0..1]

<angleUnit

val="angleUnits [1]"

/> [1]

<algebraStyle

val="algebraStyles [1]"

spreadsheet="algebraStyles [1]"

/> [0..1]

<coordStyle> intVal </coordStyle> [1]

<startAnimation> boolVal </startAnimation> [0..1]

<angleFromInvTrig> boolVal </angleFromInvTrig> [0..1]

<localization

digits="xs:boolean [0..1]"

labels="xs:boolean [0..1]"

/> [0..1]

<casSettings

timeout="xs:double [0..1]"

expRoots="xs:boolean [0..1]"

/> [0..1]

End All

</kernel>

Element: keyboard

XML Instance Representation

<keyboard

language="xs:string [0..1]"

width="positiveInt [0..1]"

height="positiveInt [0..1]"

opacity="xs:double [0..1]"

show="xs:boolean [0..1]"

/>

Element: pane

XML Instance Representation

<pane

location="xs:string [1]"

divider="javaDouble [0..1]"

orientation="nonNegInt [0..1]"

/>

Element: perspective

XML Instance Representation

<perspective

id="xs:string [0..1]"

>

<panes> [1]

<pane> …​ </pane> [1..*]

</panes>

<views> [1]

<view> …​ </view> [1..*]

</views>

<toolbar> toolbar </toolbar> [1]

<show

axes="xs:boolean [0..1]"

grid="xs:boolean [0..1]"

/> [0..1]

<input

show="xs:boolean [0..1]"

cmd="xs:boolean [0..1]"

top="algebraPosition [0..1]"

/> [1]

<dockBar

show="xs:boolean [0..1]"

east="xs:boolean [0..1]"

/> [0..1]

</perspective>

Element: scripting

XML Instance Representation

<scripting

language="xs:string [0..1]"

disabled="xs:boolean [0..1]"

blocked="xs:boolean [0..1]"

/>

Element: show

Deprecated since 4.0, use perspectives insted.

XML Instance Representation

<show

algebraView="xs:boolean [0..1]"

spreadsheetView="xs:boolean [0..1]"

auxiliaryObjects="xs:boolean [0..1]"

algebraInput="xs:boolean [0..1]"

cmdList="xs:boolean [0..1]"

/>

Element: size

XML Instance Representation

<size

width="nonNegInt [1]"

height="nonNegInt [1]"

/>

Element: splitDivider

Deprecated since 4.0, use perspectives/perspective/panes insted.

XML Instance Representation

<splitDivider

loc="nonNegInt [0..1]"

locVertical="nonNegInt [0..1]"

loc2="positiveInt [0..1]"

locVertical2="nonNegInt [0..1]"

horizontal="xs:boolean [0..1]"

/>

Element: spreadsheetView

XML Instance Representation

<spreadsheetView>

<size> …​ </size> [0..1]

<prefCellSize

width="xs:int [0..1]"

height="xs:int [0..1]"

/> [0..1]

<spreadsheetColumn

id="nonNegInt [1]"

width="positiveInt [1]"

/> [0..*]

<selection

hScroll="xs:integer [0..1]"

vScroll="xs:integer [0..1]"

column="xs:integer [0..1]"

row="xs:integer [0..1]"

/> [0..1]

<layout

showGrid="xs:boolean [0..1]"

showFormulaBar="xs:boolean [0..1]"

showHScrollBar="xs:boolean [0..1]"

showVScrollBar="xs:boolean [0..1]"

showBrowserPanel="xs:boolean [0..1]"

showColumnHeader="xs:boolean [0..1]"

showRowHeader="xs:boolean [0..1]"

allowSpecialEditor="xs:boolean [0..1]"

allowToolTips="xs:boolean [0..1]"

equalsRequired="xs:boolean [0..1]"

/> [0..1]

<spreadsheetCellFormat

formatMap="xs:string [0..1]"

/> [0..1]

</spreadsheetView>

Element: toolbar

Deprecated since 4.0, use perspectives/perspective/toolbar insted.

XML Instance Representation

<toolbar

str="xs:string [0..1]"

/>

Element: variable

XML Instance Representation

<variable>

<item

ranges="xs:string [0..1]"

/> [1..*]

</variable>

Element: view

XML Instance Representation

<view

id="positiveInt [1]"

toolbar="xs:string [0..1]"

visible="xs:boolean [0..1]"

inframe="xs:boolean [0..1]"

stylebar="xs:boolean [0..1]"

location="xs:string [0..1]"

size="nonNegInt [0..1]"

window="xs:string [0..1]"

/>

                    ==Global Definitions==

Type: toolbar

Super-types:

None

Sub-types:

None

XML Instance Representation

<…​

help="xs:boolean [0..1]"

show="xs:boolean [0..1]"

items="xs:string [0..1]"

position="nonNegInt [0..1]"

/>

Type: algebraPosition

Super-types:

xs:string < algebraPosition (by restriction)

Sub-types:

None

  • Base XSD Type: string

  • pattern = true|false|algebra