Referencia:XML Tags y Tipos Comunes

De GeoGebra Manual
Revisión del 01:04 10 mar 2020 de LilianaSaid (discusión | contribs.) (try)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
Saltar a: navegación, buscar

El siguiente documento deriva de una modificación de la página de xs3p estilo. Contiene definiciones de tags y Types empleados tanto en archivos geogebra.xml como en los de macros geogebra_macro.xml; parte importante de GeoGebra file format. Para una breve introducción, se puede consultar la sección XML reference.

Declaraciones Globales

Elemento: construcción

Nombre construcción
Tipo Locally-defined complex Type
Nillable no
Resumen no
XML Instance Representation
<construcción
title="xs:string [0..1]"
author="xs:string [0..1]"
date="xs:string [0..1]"
>
Start Choice [0..*]
<comando
Nombre ="xs:string [1]"
> [1]
<input> ioTipo </input> [1]
<output> ioTipo </output> [1]
</comando>
<element> ... </element> [1]
<expression
exp="xs:string [0..1]"
label="xs:string [0..1]"
Tipo="elTipo [0..1]"
/> [1]
End Choice
</construcción>

Elemento: elemento

Nombre element
Tipo Locally-defined complex Type
Nillable no
Resumen no
Documentación

Subelements tooltipMode, javascript, ggbscript, sellectionAllowed y linkedGeo solo disponible con GeoGebra >= 4.0.

XML Instance Representation
<element
Tipo="elTipo [0..1]"
label="xs:string [0..1]"
>
Start All [1]
<absoluteScreenLocation> xyCoords </absoluteScreenLocation> [0..1]
<allowReflexAngle> boolVal </allowReflexAngle> [0..1]
<auxiliary> boolVal </auxiliary> [0..1]
<arcSize> intVal </arcSize> [0..1]
<animation> animation </animation> [0..1]
<caption> stringVal </caption> [0..1]
<condition
showObject="xs:string [0..1]"
/> [0..1]
<checkbox
fixed="xs:boolean [0..1]"
/> [0..1]
<coeficientes
rep="representation [0..1]"
data="data [0..1]"
/> [0..1]
<coords> coords </coords> [0..1]
<coordStyle
style="coordStyles [0..1]"
/> [0..1]
<decoration
Tipo="decorTipos [0..1]"
/> [0..1]
<eigenvectors> eigenvectors </eigenvectors> [0..1]
<emphasizeRightAngle> boolVal </emphasizeRightAngle> [0..1]
<eqnStyle
style="eqnStyles [1]"
parameter="xs:string [0..1]"
/> [0..1]
<file
Nombre ="xs:string [0..1]"
/> [0..1]
<fixed> boolVal </fixed> [0..1]
<font
serif="xs:boolean [0..1]"
size="nonNegInt [0..1]"
style="nonNegInt [0..1]"
/> [0..1]
<forceReflexAngle> boolVal </forceReflexAngle> [0..1]
<ggbscript> stringVal </ggbscript> [0..1]
<inBackground> boolVal </inBackground> [0..1]
<interpolate> boolVal </interpolate> [0..1]
<javascript> stringVal </javascript> [0..1]
<keepTipoOnTransform> boolVal </keepTipoOnTransform> [0..1]
<isLaTeX> boolVal </isLaTeX> [0..1]
<lineStyle
thickness="lineThickness [0..1]"
Tipo="lineTipos [0..1]"
TipoHidden="xs:integer [0..1]"
/> [0..1]
<labelMode> intVal </labelMode> [0..1]
<labelOffset> xyCoords </labelOffset> [0..1]
<layer> intVal </layer> [0..1]
<linkedGeo
exp="xs:string [0..1]"
/> [0..1]
<matrix> matrix </matrix> [0..1]
<objColor> fillTipo </objColor> [1]
<outlyingIntersections> boolVal </outlyingIntersections> [0..1]
<pointSize> doubleVal </pointSize> [0..1]
<pointStyle
val="pointStyles [0..1]"
/> [0..1]
<selectionAllowed> boolVal </selectionAllowed> [0..1]
<show
object="xs:boolean [0..1]"
label="xs:boolean [0..1]"
ev="nonNegInt [0..1]"
/> [0..1]
<slider> slider </slider> [0..1]
<slopeTriangleSize> intVal </slopeTriangleSize> [0..1]
<spreadsheetTrace> spreadsheetTrace </spreadsheetTrace> [0..1]
<startPoint> expCoords </startPoint> [0..1]
<tooltipMode> tooltipModes </tooltipMode> [0..1]
<trace> boolVal </trace> [0..1]
<valor
val="doubleOrBool [1]"
random="xs:bool [0..1]"
/> [0..1]
End All
</element>

Definiciones Globales

Tipo: animación

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre animation
Resumen no
XML Instance Representation
<...
step="xs:string [0..1]"
speed="xs:double [0..1]"
Tipo="nonNegInt [0..1]"
playing="xs:boolean [0..1]"
/>

Tipo de Valor Booleano: boolVal

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre boolVal
Resumen no
XML Instance Representation
<...
val="xs:boolean [1]"
/>

Tipo de coordenadas: coords

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre coords
Resumen no
XML Instance Representation
<...
x="xs:double [1]"
y="xs:double [1]"
z="xs:double [1]"
w="xs:double [0..1]"
/>

Tipo de Valor Doble: doubleVal

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre doubleVal
Resumen no
XML Instance Representation
<...
val="xs:double [1]"
/>

Tipo Vectores: eigenvectors

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre eigenvectors
Resumen no
XML Instance Representation
<...
x0="xs:double [1]"
x1="xs:double [1]"
y0="xs:double [1]"
y1="xs:double [1]"
z0="xs:double [1]"
z1="xs:double [1]"
/>

Tipo de Exp_Coordenadas: expCoords

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre expCoords
Resumen no
Documentación

Debe ingresarse sea exp (para el punto relativo de inicio) o números x, y, z (para el punto de unicio absoluto). El parámetro numérico es válido solo para elementos de imagen y refiere a una de las esquinas (1 a 3)

XML Instance Representation
<...
number="nonNegInt [0..1]"
x="xs:double [0..1]"
y="xs:double [0..1]"
z="xs:double [0..1]"
exp="xs:string [0..1]"
/>

Tipo: fillTipo

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre fillTipo
Resumen no
XML Instance Representation
<...
r="nonNegInt [1]"
g="nonNegInt [1]"
b="nonNegInt [1]"
dynamicr="xs:string [0..1]"
dynamicg="xs:string [0..1]"
dynamicb="xs:string [0..1]"
alpha="xs:double [0..1]"
hatchAngle="xs:double [0..1]"
hatchDistance="xs:double [0..1]"
image="xs:string [0..1]"
inverseFill="xs:boolean [0..1]"
/>

Tipo: intVal

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre intVal
Resumen no
XML Instance Representation
<...
val="xs:int [1]"
/>

Tipo: ioTipo

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre ioTipo
Resumen no
XML Instance Representation
<...
a0="xs:string [0..1]"
a1="xs:string [0..1]"
a2="xs:string [0..1]"
a3="xs:string [0..1]"
a4="xs:string [0..1]"
a5="xs:string [0..1]"
a6="xs:string [0..1]"
a7="xs:string [0..1]"
a8="xs:string [0..1]"
a9="xs:string [0..1]"
a10="xs:string [0..1]"
a11="xs:string [0..1]"
/>

Tipo Matriz: matrix

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre matrix
Resumen no
XML Instance Representation
<...
A0="xs:double [1]"
A1="xs:double [1]"
A2="xs:double [1]"
A3="xs:double [1]"
A4="xs:double [1]"
A5="xs:double [1]"
/>

Tipo Color: rgbColor

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre rgbColor
Resumen no
XML Instance Representation
<...
r="nonNegInt [1]"
g="nonNegInt [1]"
b="nonNegInt [1]"
/>

Tipo Deslizador: slider

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre slider
Resumen no
XML Instance Representation
<...
min="xs:string [0..1]"
max="xs:string [0..1]"
width="xs:double [1]"
x="xs:double [1]"
y="xs:double [1]"
fixed="xs:boolean [1]"
absoluteScreenLocation="xs:boolean [0..1]"
horizontal="xs:boolean [1]"
/>

Tipo Trazo en Hoja de Cálculo: spreadsheetTrace

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre spreadsheetTrace
Resumen no
XML Instance Representation
<...
traceColumn1="xs:integer [0..1]"
traceColumn2="xs:integer [0..1]"
traceRow1="xs:integer [0..1]"
traceRow2="xs:integer [0..1]"
tracingRow="xs:integer [0..1]"
numRows="xs:integer [0..1]"
headerOffset="xs:integer [0..1]"
doColumnReset="xs:boolean [0..1]"
doRowLimit="xs:boolean [0..1]"
showLabel="xs:boolean [0..1]"
showTraceList="xs:boolean [0..1]"
doTraceGeoCopy="xs:boolean [0..1]"
/>

Tipo Valor Cadena: stringVal

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre stringVal
Resumen no
XML Instance Representation
<...
val="xs:string [1]"
/>

Tipo Coordenadas_XY: xyCoords

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre xyCoords
Resumen no
XML Instance Representation
<...
x="xs:double [1]"
y="xs:double [1]"
/>

Tipo Estilos_Algebraicos: algebraStyles

Super-Tipos: xs:int < algebraStyles (por restricción)
Sub-Tipos: Ninguno
Nombre algebraStyles
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 2
Documentación

Significado de los valores:0=valor,1=definición,2=comando.

Tipo Unidades_Angulares: angleUnits

Super-Tipos: xs:string < angleUnits (por restricción)
Sub-Tipos: Ninguno
Nombre angleUnits
Contenido
  • Base XSD Type: string
  • molde = grado|radián

Tipo Ejes: axisIds

Super-Tipos: xs:int < axisIds (por restricción)
Sub-Tipos: Ninguno
Nombre axisIds
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 2
Documentación

Significados de Valores: 0=x, 1=y, 2=z

Tipo Ejes: axisTipos

Super-Tipos: xs:int < axisTipos (por restricción)
Sub-Tipos: Ninguno
Nombre axisTipos
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 3
Documentación

Significado de los valores:0=full,1=arrow,2=full bold,3=full arrow bold

Tipo Estilos_Coordenadas: coordStyles

Super-Tipos: xs:string < coordStyles (por restricción)
Sub-Tipos: Ninguno
Nombre coordStyles
Contenido
  • Base XSD Type: string
  • molde = cartesian|polar|complex

Tipo Datos: data

Super-Tipos: xs:string < data (por restricción)
Sub-Tipos: Ninguno
Nombre data
Contenido
  • Base XSD Type: string
  • molde = \[(\[.*\],?)*\]

Tipo Decorados: decorTipos

Super-Tipos: xs:int < decorTipos (por restricción)
Sub-Tipos: Ninguno
Nombre decorTipos
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 6
Documentación

Significados de Valores: 0=Ninguno, 1=single tick,2=double tick, 3=triple tick, 4=simple arrow, 5=double arrow, 6=triple arrow.square, 2=dot,3=L (Belgian style).

Tipo: doubleOrBool

Super-Tipos: Ninguno
Sub-Tipos: Ninguno
Nombre doubleOrBool
Contenido
  • Union de following Types:
    • xs:double
    • xs:boolean

Tipo: elTipo

Super-Tipos: xs:string < elTipo (por restricción)
Sub-Tipos: Ninguno
Nombre elTipo
Contenido
  • Base XSD Type: string
  • molde = angle|boolean|button|conic(part)?(3d)?|curvecartesian(3d)?|function(NVar)?|image|implicitpoly|line(3d)?|list|locus|numeric|point(3d)?|polygon(3d)?|polyline|quadric|ray(3d)?|segment(3d)?|text(field)?|vector
Documentación

Valores "button", "implicitpoly", "polyline" y "textfield" solo disponible for GeoGebra >=4.0

Tipo: eqnStyles

Super-Tipos: xs:string < eqnStyles (por restricción)
Sub-Tipos: Ninguno
Nombre eqnStyles
Contenido
  • Base XSD Type: string
  • molde = implicit|explicit|specific|parametric

Tipo: gridTipos

Super-Tipos: xs:int < gridTipos (por restricción)
Sub-Tipos: Ninguno
Nombre gridTipos
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 2
Documentación

Significados de Valores: 0=cartesian, 1=isometric, 2 polar

Tipo: lineThickness

Super-Tipos: xs:int < lineThickness (por restricción)
Sub-Tipos: Ninguno
Nombre lineThickness
Contenido
  • Base XSD Type: int
  • 1 <= valor <= 13

Tipo: lineTipos

Super-Tipos: xs:int < lineTipos (por restricción)
Sub-Tipos: Ninguno
Nombre lineTipos
Contenido
  • Base XSD Type: int
  • valor comes from list: {'0'|'10'|'15'|'20'|'30'}
Documentación

Significados de Valores: 0=full, 10=dashed short,15=dashed long,20=dotted,30=dashed dotted

Tipo: nonNegInt

Super-Tipos: xs:integer < nonNegInt (por restricción)
Sub-Tipos: Ninguno
Nombre nonNegInt
Contenido
  • Base XSD Type: integer
  • valor >= 0

Tipo: pointCapturings

Super-Tipos: xs:int < pointCapturings (por restricción)
Sub-Tipos: Ninguno
Nombre pointCapturings
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 3
Documentación

Significados de Valores: 0=off, 1=on, 2=on grid,3=automatic.

Tipo: pointStyles

Super-Tipos: xs:int < pointStyles (por restricción)
Sub-Tipos: Ninguno
Nombre pointStyles
Contenido
  • Base XSD Type: int
  • -1 <= valor <= 9
Documentación

Significados de Valores: -1=use global default, 0=full dot, 1=cross, 2=empty dot, 3=plus sign, 4=full diamond, 5=empty diamond, 6=triangle north, 7=triangle south, 8=triangle east, 9=triangle west.

Tipo: positiveInt

Super-Tipos: xs:integer < positiveInt (por restricción)
Sub-Tipos: Ninguno
Nombre positiveInt
Contenido
  • Base XSD Type: integer
  • valor >= 1

Tipo: representation

Super-Tipos: xs:string < representation (por restricción)
Sub-Tipos: Ninguno
Nombre representation
Contenido
  • Base XSD Type: string
  • molde = array
Documentación

Modos de representar coeficientes, solo 1 viable en 4.0

Tipo: rightAngleStyles

Super-Tipos: xs:int < rightAngleStyles (por restricción)
Sub-Tipos: Ninguno
Nombre rightAngleStyles
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 3
Documentación

Significados de Valores: 0=Ninguno, 1=square, 2=dot,3=L (Belgian style).

Tipo: tickStyles

Super-Tipos: xs:int < tickStyles (por restricción)
Sub-Tipos: Ninguno
Nombre tickStyles
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 2
Documentación

Significado de los valores:0=major minor,1=major,2=Ninguno

Tipo: tooltipModes

Super-Tipos: xs:int < tooltipModes (por restricción)
Sub-Tipos: Ninguno
Nombre tooltipModes
Contenido
  • Base XSD Type: int
  • 0 <= valor <= 4
© 2024 International GeoGebra Institute