TEI document and schema visualization and modeling using mindmaps
|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.
- 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).