Title TEI document and schema visualization and modeling using mindmaps

Encoded by   Vanessa Hannesschläger

Encoded by   Daniel Schopper


The Creative Commons Attribution 4.0 International (CC BY 4.0) License applies to this text.


In this presentation, we will show the results of the TRACE project in the context of the DHW research group at the Miguel Hernández University. After four years, the TRACE project has served to integrate and evolve several tools created to make working with XML and TEI faster and easier, while favoring mobility and portability by offering them as online services.

    This set of tools comprises:

  • Tools to graphically visualize and model TEI schemas and document instances.
  • Tools for automatic TEI markup from a Markdown-style lightweight markup language.
  • Tools to validate, pretty print, improve, and transform XML documents.

In this presentation, we will describe how we use mindmaps to successfully visualize, model, design, modify, import, and export XML-TEI schemas (including DTDs) as well as TEI document instances. Using Freemind, a software tool for drawing mindmaps, and XSLT transformation scripts, we get very manageable, easily comprehensible, folding diagrams from XML sources, which in turn can be edited in a graphical environment and converted back to their original XML format. In this way, we adapted a general purpose mind-mapping tool into a visual tool for XML vocabulary design and simplification. This approach is also very useful for teaching and presentation purposes.

It is frequently said that a good model must be capable of hiding unnecessary detail. The ability to interactively hide / unhide branches of a mindmap diagram, and the automatic allocation of nodes around a center point is what makes Freemind so attractive to our purposes of representing semistructured document structures. User-friendly features for copying, pasting, moving, dragging-and-dropping subtrees make it ideal for visual structure design. For this, we needed a way to import and export several types of schemes. So we implemented transformations for the most popular notations: DTDs, W3C XML Schema, and RelaxNG.

Freemind uses an XML file format, which can be generated using XSLT scripts. We have written several scripts to translate DTDs, XSD, and RelaxNG Schemas to and from Freemind’s file format. In the case of DTDs, whose syntax is not actually XML, we used some additional pre /post processing.

These tools will be briefly showcased during the presentation.


This work has been developed within the TRACEsofTools project: Software Tools for Contrastive Analysis of Texts in Parallel Bilingual Corpora, and has been financed with aid FFI2012-39012-C04-02 from the VI National Plan for Scientific Research, Development and Technological Innovation of the MINECO (Ministry of Economy and Competitiveness of Spain).


  • Bia, Alejandro/Rodríguez-Sala, Jesús Javier: Building a digital archive for the TRACE project in: LIPS 2016: 5th International Library and Information Professionals Summit , New Delhi, 2016.
  • Bia, Alejandro/Ñeco García, Ramón Pedro/Pérez Beltrán, Jorge: Integración de recursos PLE mediante mapas mentales in: XIII Jordanas de Redes de Incestigacion en Docencia Universitaria , Alicante, Spain, 2015.
  • Bia, Alejandro: Down to TEI: use of extended markdown to speed-up the creation of TEI documents in: 15th TEI Conference and Member’s Meeting , Lyon, France, 2015.
  • Bia, Alejandro: Digital Humanities: towards theory and applications in: Panel, ESU 2015 , Leipzig, 2015.