A Structured Document Transformation Model

Total Page:16

File Type:pdf, Size:1020Kb

A Structured Document Transformation Model TransM: A structured document transformation model Nouhad Amaneddine ∗ Jean-Paul Bahsoun Jean-Paul Bodeveix Institut de Recherche en Informatique de Toulouse Université de Paul Sabatier, Toulouse, France {amaneddi, bahsoun, bodeveix}@irit.fr Abstract: We present in this paper a transformation model for structured documents. TransM is a new model that deals with specified documents, where the structure con- forms to a predefined data type. In particular TransM works on XML document con- forming to a document type definition DTD. We present the different components of our model and we put the point on the kernel part of TransM which is the transforma- tion rules. We show the strengths and the weaknesses of some recent transformation approaches and we prove that TransM can perform not only those simple and direct transformations but also complicated ones, especially, those who handle recursive ap- pearance in the structure of the modeled documents, where elements may appear at any level of deepness in the hierarchical composition of the document structure, whilst the problem is not clearly resolved in the existing transformation models. We propose TransM as a general model for structured document transformation and we explore in more details its specification core that carries out document transformations. 1 Introduction Nowadays, documents are produced in electronic forms and they are often displayed using different applications. Moreover, in the last recent years, the development of software engineering intended to separate the document structure from the document presentation [W303b][W303b]. Sharing documents between different systems is a very useful process in computer appli- cation. In some cases, a part of the document concerning particular information is needed by one application where the whole content is manipulated by another one [CI03][MR97]. Furthermore, document transformation shows an increasing attention of many research teems in the last few years [XF01][Pe03][Wi03]. Consequently, a dedicated language for specifying transformations should be defined. It may contain transformation rules that de- scribe relationships between a source structure and a destination structure, and which can be used to generate a target structured document instance conforming to a predefined docu- ment type. The source and the destination model could be instances of the same document structure definition, or, they may conform to two different document structures. ∗Lebanese university, faculty of Sciences 53 Structured document transformations relies on several modules. The core starts at the transformation language based on rules or expressions. Then strategies for the traversal of the input document must be defined. Advanced conditions and constraints may be applied in order to filter selected information. Finally the writing policy is used to place correspondent elements in the output structure. Some models utilize their own definition languages to carry out the transformations [OM02], some other prefer to generate code for specialized language rather than using a general one [Pe03]. Without forgetting the data manipulation and the application of particular functions on document content in case of needs. Consequently, many modules are used in order to accomplish all the steps of the transformation process. The chosen strategy is built according to the selected document structure. As XML [W303b] became the standard markup language for structured document, a tree struc- ture is preferred as the backbone structure for documents. Even if it has a tree form, an XML document can be considered as a graph. We have in XML the possibility to represent graphs. This can be performed by referring the destination node with the attribute of the source one. Eventually, a unique identity should be chosen for each node in the document thus it can be referred by its identity. This paper presents a new model for structured doc- uments transformations, named TransM. We show the specification of the kernel part of TransM which is the transformation rules and we present the general algorithm that holds the transformation process. The paper is organized as follows: in section two we present an overview on structured document and their frameworks. We detailed TransM in section three. We present in section four some recent related works then we conclude in section five by a perspective for our future work. 2 Structured documents and transformation overview A document is considered to be structured when it contains implicitly or explicitly ad- ditional information about its hierarchical composition [AB03][XF01]. Many types of documents are considered as structured ones, as those applying pre-defined grammars that can be a context free grammar or any other type of grammars [Mu98]. The structure of the document is the backbone of its internal representation. It is the hidden side of the exter- nal representation that is created conforming to the internal one and it is presented to the user of the application. The most important representation of a structured document is a representation that contains only the actual content of the document in the structured form. Structured document can be a document with a tree structure or a graph one, or it can be a document conforming to some constraints defined in another form than a grammar. XML documents conforming to some Document Type Definition are such examples. When we specify the transformation, we indicate how the rules should be applied and what they do mean. Direct transformation are made when we have a simple transforma- tion process and we suppose that we will not use the same transformation another time. Otherwise it is more wise to define the rules that we need in order to gain from the reusabil- 54 ity characteristic of the specifications. The recent research results are focusing on model transformation [Wi03][PR02]. We remark that they differ in the literature between doc- ument transformations and model transformations, while the two research areas can be placed under one single title which is the structured document transformation. The QVT approach [OM02] is one of those proposals that works on model transformation. For us, while we can represent any object to be transformed in a structural form, the resolution of the transformation will count on the general axis defined by the transformation of docu- ments. The main problem that we could mention in the used transformation method is that most all of those methods are efficient when the transformation process is not complicated. This case can be seen repeatedly in those transformations where both the input and out- put structures are so closed and when there are no manipulations to be performed on the transformed information. In this case, simple transformations are sufficient and we see useful rules and efficient schemas with a very easy and comprehensive way are used to accomplish the transformation. The problem starts when the structures of both input and output documents are quite different and when we need to make changes on the contents in order to produce the required document. In this case, we found either the used method can hold those transformations but they are too complicated to be understood and applied, and their use does not cover all the complicated situation we could face in such transfor- mation, or, those methods are unable to support advanced transformations. In this case, the eventual question that could be asked is what is the interest of providing such a method and how relevant is its application, especially for a delicate transformation process. We present in the next section the TransM model that can support not only those direct and simple transformations but also more complicated ones. 3 Core of TransM transformation model Before exploring our transformation rules which represent the kernel of the TransM, we present the eXtensible Style Sheet Translation language. We show the different steps of the transformation process then we introduce our model justifying the choice of generating XSLT code. 3.1 XSLT The W3C proposed XSLT as a transformation language for XML documents [W303b]. This language has considerable computation power. A key element of XSLT is the sub- language of patterns, which is used to match and select elements. The pattern language of XSLT has evolved into Xpath [W303b], a language for selecting nodes of a tree. It performs the core functions of XSLT. XSLT is a recursive XML transformation language 55 and an XSLT program can be thought of as an ordered collection of templates. Each template has an associated pattern and contains a nested set of construction rules. A tem- plate processes nodes that match the selected pattern and constructs output according to the construction rules. The transformation starts at the root of the input document and the construction rules specify, by means of construction patterns, where in the XML document the transformation process should continue. However, XSLT requires detailed and tedious programming to accomplish complex structure transformations. As alternative, we con- struct our transformation rules at the structure level. An XSLT program will be generated automatically in order to perform transformations on the instance level. 3.2 Transformation process The process consists of transforming XML documents conforming to a predefined docu- ment type definition to another XML document conforming to a different document type definition. It starts by making the association relations between the input and the output structures as shown in figure 1. Those associations are chosen from a set of pre-defined possible associations. Then the transformations are specified by a set of rules. Those rules are used to hold the required transformations in the concrete level. The XSLT program generated after the transformation rules aimed to transform document conforming to the input structure to another document conforming to the output structure. A A B C D C X f(D) E F G g(B,F,G) Y Z Input structure Output structure Figure 1: Elements Associations In this figure we show the input structure and the output structure with a tree forms.
Recommended publications
  • XML a New Web Site Architecture
    XML A New Web Site Architecture Jim Costello Derek Werthmuller Darshana Apte Center for Technology in Government University at Albany, SUNY 1535 Western Avenue Albany, NY 12203 Phone: (518) 442-3892 Fax: (518) 442-3886 E-mail: [email protected] http://www.ctg.albany.edu September 2002 © 2002 Center for Technology in Government The Center grants permission to reprint this document provided this cover page is included. Table of Contents XML: A New Web Site Architecture .......................................................................................................................... 1 A Better Way? ......................................................................................................................................................... 1 Defining the Problem.............................................................................................................................................. 1 Partial Solutions ...................................................................................................................................................... 2 Addressing the Root Problems .............................................................................................................................. 2 Figure 1. Sample XML file (all code simplified for example) ...................................................................... 4 Figure 2. Sample XSL File (all code simplified for example) ....................................................................... 6 Figure 3. Formatted Page Produced
    [Show full text]
  • Techniques for Authoring Complex XML Documents Vincent Quint, Irène Vatton
    Techniques for Authoring Complex XML Documents Vincent Quint, Irène Vatton To cite this version: Vincent Quint, Irène Vatton. Techniques for Authoring Complex XML Documents. Proceedings of the 2004 ACM symposium on Document Engineering, DocEng 2004, Oct 2004, MilWaukee, WI, United States. pp.115-123, 10.1145/1030397.1030422. inria-00423365 HAL Id: inria-00423365 https://hal.inria.fr/inria-00423365 Submitted on 9 Oct 2009 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Techniques for Authoring Complex XML Documents Vincent Quint Irene` Vatton INRIA Rhone-Alpesˆ INRIA Rhone-Alpesˆ 655 avenue de l’Europe 655 avenue de l’Europe 38334 Saint Ismier Cedex, France 38334 Saint Ismier Cedex, France [email protected] [email protected] ABSTRACT 1. INTRODUCTION This paper reviews the main innovations of XML and con- Authoring techniques for structured documents consti- siders their impact on the editing techniques for structured tuted an active research area during the second half of the documents. Namespaces open the way to compound docu- 80’s and the early 90’s [10]. Several experimental systems ments; well-formedness brings more freedom in the editing such as Grif [7] and Rita [6] were developed and a few pro- task; CSS allows style to be associated easily with structured duction tools resulted from that work.
    [Show full text]
  • A Wiki-Based Authoring Tool for Collaborative Development of Multimedial Documents
    MEDIA2MULT – A WIKI-BASED AUTHORING TOOL FOR COLLABORATIVE DEVELOPMENT OF MULTIMEDIAL DOCUMENTS Author Name * Affiliation * Address * Author Name * Affiliation * Address * * Only for Final Camera-Ready Submission ABSTRACT media2mult is an extension for PmWiki developed at our university. It provides functionality for embedding various media files and script languages in wiki pages. Furthermore media2mult comes with a cross media publishing component that allows to convert arbitrary wiki page sequences to print-oriented formats like PDF. This article gives an overview over the offered extensions, their functionality and implementation concepts. KEYWORDS wiki, multimedia, cross-media-publishing, authoring tool, XML 1. INTRODUCTION At least since the founding of the free web encyclopedia Wikipedia and its increasing popularity wiki web , wiki-wiki or just wiki are widely known terms in context of Web 2.0. However, their exact meaning often remains unclear. Sometimes wiki and Wikipedia are actually used synonymously. The crucial functionality of every wiki system is the possibility to edit wiki web pages directly inside a browser by entering an easy to learn markup language. Thus, manual uploads of previously edited HTML files are superfluous here. The user doesn't even have to know anything about HTML or external HTML editors. The browser- and server-based concept makes it possible that several authors can edit and revise common documents without the necessity of exchanging independently written and updated versions. Because most wiki systems offer an integrated version management system, authors can easily merge their changes and revert selected passages to former stages. Thus, accidentally or deliberately applied changes of protected or publicly accessible wiki pages can be taken back in a second.
    [Show full text]
  • Iso/Iec 19757-8:2008(E)
    This is a previewINTERNATIONAL - click here to buy the full publication ISO/IEC STANDARD 19757-8 First edition 2008-12-15 Information technology — Document Schema Definition Languages (DSDL) — Part 8: Document Semantics Renaming Language (DSRL) Technologies de l'information — Langages de définition de schéma de documents (DSDL) — Partie 8: Langage pour renommer une sémantique de documents (DSRL) Reference number ISO/IEC 19757-8:2008(E) © ISO/IEC 2008 ISO/IEC 19757-8:2008(E) This is a preview - click here to buy the full publication PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT © ISO/IEC 2008 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISO's member body in the country of the requester.
    [Show full text]
  • Taxonomy of XML Schema Languages Using Formal Language Theory
    Taxonomy of XML Schema Languages using Formal Language Theory MAKOTO MURATA IBM Tokyo Research Lab DONGWON LEE Penn State University MURALI MANI Worcester Polytechnic Institute and KOHSUKE KAWAGUCHI Sun Microsystems On the basis of regular tree grammars, we present a formal framework for XML schema languages. This framework helps to describe, compare, and implement such schema languages in a rigorous manner. Our main results are as follows: (1) a simple framework to study three classes of tree languages (“local”, “single-type”, and “regular”); (2) classification and comparison of schema languages (DTD, W3C XML Schema, and RELAX NG) based on these classes; (3) efficient doc- ument validation algorithms for these classes; and (4) other grammatical concepts and advanced validation algorithms relevant to XML model (e.g., binarization, derivative-based validation). Categories and Subject Descriptors: H.2.1 [Database Management]: Logical Design—Schema and subschema; F.4.3 [Mathematical Logic and Formal Languages]: Formal Languages— Classes defined by grammars or automata General Terms: Algorithms, Languages, Theory Additional Key Words and Phrases: XML, schema, validation, tree automaton, interpretation 1. INTRODUCTION XML [Bray et al. 2000] is a meta language for creating markup languages. To represent an XML based language, we design a collection of names for elements and attributes that the language uses. These names (i.e., tag names) are then used by application programs dedicated to this type of information. For instance, XHTML [Altheim and McCarron (Eds) 2000] is such an XML-based language. In it, permissible element names include p, a, ul, and li, and permissible attribute names include href and style.
    [Show full text]
  • Information Retrieval of Text, Structure and Sequential Data in Heterogeneous XML Document Collections Eugen Popovici
    Information Retrieval of Text, Structure and Sequential Data in Heterogeneous XML Document Collections Eugen Popovici To cite this version: Eugen Popovici. Information Retrieval of Text, Structure and Sequential Data in Heterogeneous XML Document Collections. Computer Science [cs]. Université de Bretagne Sud; Université Européenne de Bretagne, 2008. English. tel-00511981 HAL Id: tel-00511981 https://tel.archives-ouvertes.fr/tel-00511981 Submitted on 26 Aug 2010 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. THÈSE SOUTENUE DEVANT L’UNIVERSITÉ EUROPÉENNE DE BRETAGNE pour obtenir le grade de DOCTEUR DE L’UNIVERSITÉ EUROPÉENNE DE BRETAGNE Mention : SCIENCES ET TECHNOLOGIES DE L’INFORMATION ET DE LA COMMUNICATION par EUGEN-COSTIN POPOVICI Information Retrieval of Text, Structure and Sequential Data in Heterogeneous XML Document Collections Recherche et filtrage d’information multimédia (texte, structure et séquence) dans des collections de documents XML hétérogènes Présentée le 10 janvier 2008 devant la commission d’examen composée de : M. BOUGHANEM Professeur, Université Paul Sabatier, Toulouse III Rapporteur P. GROS Directeur de Recherche, INRIA, Rennes Examinateur M. LALMAS Professeur, Queen Mary University of London Rapporteur P.-F. MARTEAU Professeur, Université de Bretagne-Sud Directeur G.
    [Show full text]
  • Personal Knowledge Models with Semantic Technologies
    Max Völkel Personal Knowledge Models with Semantic Technologies Personal Knowledge Models with Semantic Technologies Max Völkel 2 Bibliografische Information Detaillierte bibliografische Daten sind im Internet über http://pkm. xam.de abrufbar. Covergestaltung: Stefanie Miller Herstellung und Verlag: Books on Demand GmbH, Norderstedt c 2010 Max Völkel, Ritterstr. 6, 76133 Karlsruhe This work is licensed under the Creative Commons Attribution- ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Fran- cisco, California, 94105, USA. Zur Erlangung des akademischen Grades eines Doktors der Wirtschaftswis- senschaften (Dr. rer. pol.) von der Fakultät für Wirtschaftswissenschaften des Karlsruher Instituts für Technologie (KIT) genehmigte Dissertation von Dipl.-Inform. Max Völkel. Tag der mündlichen Prüfung: 14. Juli 2010 Referent: Prof. Dr. Rudi Studer Koreferent: Prof. Dr. Klaus Tochtermann Prüfer: Prof. Dr. Gerhard Satzger Vorsitzende der Prüfungskommission: Prof. Dr. Christine Harbring Abstract Following the ideas of Vannevar Bush (1945) and Douglas Engelbart (1963), this thesis explores how computers can help humans to be more intelligent. More precisely, the idea is to reduce limitations of cognitive processes with the help of knowledge cues, which are external reminders about previously experienced internal knowledge. A knowledge cue is any kind of symbol, pattern or artefact, created with the intent to be used by its creator, to re- evoke a previously experienced mental state, when used. The main processes in creating, managing and using knowledge cues are analysed. Based on the resulting knowledge cue life-cycle, an economic analysis of costs and benefits in Personal Knowledge Management (PKM) processes is performed.
    [Show full text]
  • Using SGML As a Basis for Data-Intensive NLP
    Using SGML as a Basis for Data-Intensive NLP David McKelvie, Chris Brew & Henry Thompson Language Technology Group, Human Communication Research Centre, University of Edinburgh, Edinburgh, Scotland David. McKelvie@ed. ac. uk ~z Chris. Brew@ed. ac. uk & H. Thompson@ed. ac. uk Abstract cessing of (primarily) text corpora. It generalises the UNIX pipe architecture, making it possible to This paper describes the LT NSL sys- use pipelines of general-purpose tools to process an- tem (McKelvie et al, 1996), an architec- notated corpora. The original UNIX architecture al- ture for writing corpus processing tools. lows the rapid construction of efficient pipelines of This system is then compared with two conceptually simple processes to carry out relatively other systems which address similar is- complex tasks, but is restricted to a simple model of sues, the GATE system (Cunningham et streams as sequences of bytes, lines or fields. LT NSL al, 1995) and the IMS Corpus Workbench lifts this restriction, allowing tools access to streams (Christ, 1994). In particular we address which are sequences of tree-structured text (a repre- the advantages and disadvantages of an sentation of SGML marked-up text). SGML approach compared with a non-SGML The use of SGML as an I/0 stream format between database approach. programs has the advantage that SGML is a well de- fined standard for representing structured text. Its 1 Introduction value is precisely that it closes off the option of a The theme of this paper is the design of software proliferation of ad-hoc notations and the associated and data architectures for natural language process- software needed to read and write them.
    [Show full text]
  • Structured Authoring and XML
    Structured authoring and XML Sarah O’Keefe Chief Executive Officer Alan Pringle Chief Operating Officer [email protected] April 12, 2017 Originally published in 2001 Introduction Introduction Structured authoring and XML represent a significant paradigm shift in content creation. Implementing structured authoring with XML allows organizations to enforce content organization requirements. The addition of hierarchy and metadata to content improves reuse and content management. These benefits, however, must be weighed against the effort required to implement a structured authoring approach. The business case is compelling for larger writing organizations; they will be the first to adopt structured authoring. Over time, improvements in available tools will reduce the cost of implementing structured authoring and make it affordable for smaller organizations. What is structured authoring? Structured authoring is a publishing workflow that lets you define and enforce consistent organization of information in documents, whether printed or online. In traditional publishing, content rules are captured in a style guide and enforced by (human) editors, who read the information and verify that it conforms to the approved style. A few simple examples of content rules are as follows: • A heading must be followed by an introductory paragraph. • A bulleted list must contain at least two items. • A graphic must have a caption. In structured authoring, a file—either a document type definition (DTD) or a schema— captures these content rules. Authors work in software that validates their documents; the software verifies that the documents they create conform to the rules in the definition file. Consider, for example, a simple structured document—a recipe. A typical recipe requires several components: a name, a list of ingredients, and instructions.
    [Show full text]
  • A Metamodel and Prototype for Fluid Cross-Media Document Formats
    Faculty of Science Department of Computer Science A Metamodel and Prototype for Fluid Cross-Media Document Formats Graduation thesis submitted in partial fulfillment of the requirements for the degree of Master in Computer Science Ahmed A. O. Tayeh Promoter: Prof. Dr. Beat Signer Advisor: Dr. Bruno Dumas Academic year 2011-2012 Acknowledgment First and foremost, I offer my sincerest gratitude to my promoter Prof. Dr. Beat Signer and to my supervisor Dr. Bruno Dumas, for their excellent guidance and patience and for providing me with an excellent atmosphere for doing research. I am deeply glad to convey my warmest regards to those who supported me during my whole life in my studies and in achieving this work, my precious parents, lovely brothers, sisters and friends. 1 Abstract Alongside with the transformation of computing from personal computers to the In- ternet, document formats have changed over the years. Future document formats are likely going to adapt to the coming age of ubiquitous computing, where infor- mation processing has been embedded into everyday activities and objects. While document formats have originally been created as a digital emulation of paper doc- uments, they have been slowly enriched with additional digital features over time. These features were mainly incorporated to take advantage of new capabilities of- fered by the devices from which these documents are accessed. With the advent of ubiquitous computing, document formats seem to be facing a new evolutionary step. They will have to adapt to novel mobile devices, innovative interaction modalities, the distribution over multiple machines as well as heterogeneous input sources.
    [Show full text]
  • Modeling, Encoding and Querying Multi-Structured Documents Pierre-Edouard Portier, Noureddine Chatti, Sylvie Calabretto, Elod Egyed-Zsigmond, Jean-Marie Pinon
    Modeling, Encoding and Querying Multi-Structured Documents Pierre-Edouard Portier, Noureddine Chatti, Sylvie Calabretto, Elod Egyed-Zsigmond, Jean-Marie Pinon To cite this version: Pierre-Edouard Portier, Noureddine Chatti, Sylvie Calabretto, Elod Egyed-Zsigmond, Jean-Marie Pinon. Modeling, Encoding and Querying Multi-Structured Documents. Information Processing and Management, Elsevier, 2012, 5, 48, pp.931-955. 10.1016/j.ipm.2011.11.004. hal-01353379 HAL Id: hal-01353379 https://hal.archives-ouvertes.fr/hal-01353379 Submitted on 7 Mar 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. MODELING, ENCODING AND QUERYING MULTI-STRUCTURED DOCUMENTS Pierre-Édouard Portier, Noureddine Chatti, Sylvie Calabretto, Elöd Egyed-Zsigmond and Jean-Marie Pinon Université de Lyon LIRIS UMR 5205 – INSA LYON 7, avenue Jean Capelle 69621 Villeurbanne Cedex, France ABSTRACT THE ISSUE OF MULTI-STRUCTURED DOCUMENTS BECAME PROMINENT WITH THE EMERGENCE OF THE DIGITAL HUMANITIES FIELD OF PRACTICES. MANY DISTINCT STRUCTURES MAY BE DEFINED SIMULTANEOUSLY ON THE SAME ORIGINAL CONTENT FOR MATCHING DIFFERENT DOCUMENTARY TASKS. FOR EXAMPLE, A DOCUMENT MAY HAVE BOTH A STRUCTURE FOR THE LOGICAL ORGANIZATION OF CONTENT (LOGICAL STRUCTURE), AND A STRUCTURE EXPRESSING A SET OF CONTENT FORMATTING RULES (PHYSICAL STRUCTURE).
    [Show full text]
  • Modeling, Encoding and Querying Multi-Structured Documents
    MODELING, ENCODING AND QUERYING MULTI-STRUCTURED DOCUMENTS Pierre-Édouard Portier, Noureddine Chatti, Sylvie Calabretto, Elöd Egyed-Zsigmond and Jean-Marie Pinon Université de Lyon LIRIS UMR 5205 – INSA LYON 7, avenue Jean Capelle 69621 Villeurbanne Cedex, France ABSTRACT THE ISSUE OF MULTI-STRUCTURED DOCUMENTS BECAME PROMINENT WITH THE EMERGENCE OF THE DIGITAL HUMANITIES FIELD OF PRACTICES. MANY DISTINCT STRUCTURES MAY BE DEFINED SIMULTANEOUSLY ON THE SAME ORIGINAL CONTENT FOR MATCHING DIFFERENT DOCUMENTARY TASKS. FOR EXAMPLE, A DOCUMENT MAY HAVE BOTH A STRUCTURE FOR THE LOGICAL ORGANIZATION OF CONTENT (LOGICAL STRUCTURE), AND A STRUCTURE EXPRESSING A SET OF CONTENT FORMATTING RULES (PHYSICAL STRUCTURE). IN THIS PAPER, WE PRESENT MSDM, A GENERIC MODEL FOR MULTI-STRUCTURED DOCUMENTS, IN WHICH SEVERAL IMPORTANT FEATURES ARE ESTABLISHED. WE ALSO ADDRESS THE PROBLEM OF EFFICIENTLY ENCODING MULTI-STRUCTURED DOCUMENTS BY INTRODUCING MULTIX, A NEW XML FORMALISM BASED ON THE MSDM MODEL. FINALLY, WE PROPOSE A LIBRARY OF XQUERY FUNCTIONS FOR QUERYING MULTIX DOCUMENTS. WE WILL ILLUSTRATE ALL THE CONTRIBUTIONS WITH A USE CASE BASED ON A FRAGMENT OF AN OLD MANUSCRIPT. Keywords Multi-structured document; XML; MultiX; Multi-structured Document Querying; XQuery 1 INTRODUCTION 1.1 DOCUMENT STRUCTURING Document structuring is used in many applications such as document exchange, integration and information retrieval. Several types of structures (physical, logical, semantic …) (Nanard & Nanard, 1995) (Poullet, Pinon, & Calabretto, 1997) have been defined for several specific uses. Moreover, a document can actually be a vehicle for various media types that can themselves introduce other structural layers (such as the temporal dimension of an audio track). A single document can be used in many contexts.
    [Show full text]