Interactive Visualisation of RELAX NG Schemas

Thesis title: Interaktivní vizualizace RELAX NG schémat
Author: Sýkora, Lukáš
Thesis type: Bakalářská práce
Supervisor: Kosek, Jiří
Opponents: Ralbovský, Martin
Thesis language: Česky
Abstract:
Cílem práce je vytvořit nástroj pro vizualizaci RELAX NG schémat. RELAX NG schémata definují podobu dokumentů XML. Určují jaké elementy a atributy je možné v dokumentu používat a jak je lze vzájemně kombinovat. Vizualizace schémat má smysl pro jednodušší orientaci v struktuře RELAX NG vzorů. To se hodí vývojářům schémat i uživatelům, kteří podle schémat budou psát XML dokument. RELAX NG schéma je možné zaznamenat pomocí XML, což umožňuje jeho vizuální reprezentaci pomocí stromové struktury. Model stromu bude navíc interaktivní, což uživateli umožní zobrazovat jen větve stromu, které ho zajímají. K dosažení cíle bude použito několik technologií. Zaprvé bude zapotřebí řádně analyzovat konstrukce jazyka RELAX NG pro možnost jejich budoucí vizualizace. Další technologií bude formát SVG pro popis vektorové grafiky, jehož zápis se provádí rovněž pomocí XML. Interaktivita modelu popsaného pomocí SVG bude umožněna ECMAScriptem. Převod z RELAX NG do SVG grafiky bude prováděn pomocí XSLT transformace. Přínosem práce bude samotná vizualizace, která uživatelům i vývojářům usnadní orientaci v schématu. K vizualizaci vlastního RELAX NG budou potřebovat pouze XSLT procesor a soubor s XSLT transformací, který bude výsledkem této práce. Práce je rozdělena do třech tématických celků. V první části se zabývám analýzou konstrukcí jazyka RELAX NG a možnostmi jejich vizualizace. Zejména se zajímám o současné možnosti grafické interpretace schémat. Druhá část se zabývá návrhem grafických značek pro jednotlivé uzly grafického modelu a také možnostmi jejich interakcí. Třetí část se věnuje prototypové implementaci převodu RELAX NG do SVG grafiky.
Keywords: SVG; XML; RELAX NG
Thesis title: Interactive Visualisation of RELAX NG Schemas
Author: Sýkora, Lukáš
Thesis type: Bachelor thesis
Supervisor: Kosek, Jiří
Opponents: Ralbovský, Martin
Thesis language: Česky
Abstract:
The aim of this thesis is to create a tool for visualisation of RELAX NG schemas. RELAX NG schemas define a form of XML documents. They determine what elements and attributes can be used in the document and how they can be combined. Visualisation of schemas enables easier orientation in the structure of RELAX NG patterns. This can be useful for both developers of schemas and users who use schemas for creation of XML documents. RELAX NG schema can be written using XML, which enables its visual representation by means of tree structure. Moreover, the model of the tree is interactive which enables users to display only the branches they are interested in. The aim will be reached in several steps. At first, it is necessary to analyze properly the structures of RELAX NG language with respect to their future visualisation. Next step is SVG format for description of vector graphics. SVG format can be written using XML as well. Interactivity of the model described by SVG is enabled by ECMAScript. The conversion from RELAX NG to SVG graphics will be done by means of XSLT transformation. The main contribution of this thesis will be the visualisation which facilitates the orientation in the schema for both users and developers. Only XSLT processor and a file with XSLT transformation will be needed for the visualisation of RELAX NG. The file with XSLT transformation will be the output of this thesis. The thesis is divided into three main parts. The first part is focused on the analysis of the structures of RELAX NG language and the possibilities of their visualisation. Particular attention will be given to the current possibilities of graphic interpretation of schemas. The second part is devoted to the design of graphic symbols for individual nodes of the graphic model and the possibilities of their interaction. The third part deals with the prototype implementation of transformation of RELAX NG to SVG graphics.
Keywords: XML; RELAX NG; SVG

Information about study

Study programme: Aplikovaná informatika/Informatika
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information and Knowledge Engineering

Information on submission and defense

Date of assignment: 1. 9. 2007
Date of submission: 1. 9. 2008
Date of defense: 10. 9. 2008
Identifier in the InSIS system: https://insis.vse.cz/zp/13391/podrobnosti

Files for download

    Last update: