XSD for GeoGebra XML

Zbynek shared this idea 13 years ago
Under Consideration

I'm probably posting this to a bad forum. Since I saw that GeoGebra XML format is documented at wiki, I thought it would be nice to make the documentation more formal. Therefore I'm trying to write an XSD for GeoGebra. Partial result is at

http://geogebra.org/ggb.xsd

This file may be useful for anybody, who wants to edit GeoGebra files manually: change the header to

    <?xml version="1.0" encoding="utf-8"?>

    <geogebra format="3.2" xsi:noNamespaceSchemaLocation="http://geogebra.org/ggb.xsd"; xmlns=""

    xmlns:xsi="http://www.w3.org/2001/XMLS...;

and in intelligent editors (jEdit, NetBeans, Eclipse) with XML plugins features like validation or auto-completion should start to work.


The XSD can be used to generate documentation automatically:

http://www.geogebra.org/en/...


The actual version won't validate your files due to problems with lineStyle element (as I wrote in Bug report) and probably there are some other issues.

Comments (2)

photo
1

Thanks to Murkle, XSD is now also available for tool files at http://geogebra.org/ggt.xsd.

Documentation is at http://www.geogebra.org/en/...

© 2023 International GeoGebra Institute