Applying Compiling Techniques in DTD Conversion
In this paper, we propose to apply compilation techniques to Documents Type Definition (DTD). At the syntactic level, we create a context free grammar, denoted GDT D , for the set of all DTDs in order to generate them. The semantic level is defined by using attributes. Each nonterminal of GDT D is assigned a set of attributes and for each production of GDT D a set of attribute equations is defined. This DTD compilation process can be used in different domains. In this article, we provide an attribute grammar that can be used to eliminate unnecessary parentheses in element declarations in a DTD. In addition, the DTD compilation process can be applied to the domain of model conversion. It makes it possible to split the model conversion into two steps: the syntactic transformation step, which consists of rewriting the source DTD in terms of XML syntax, and the second step of the effective conversion algorithm, which can be easily expressed by an Extensible Stylesheet Language Transformation (XSLT).
Authors
- Jacques Bou Abdo (ORCID: https://orcid.org/0000-0002-3482-9154)
- Joseph Constantin (ORCID: https://orcid.org/0000-0002-7911-1218)
- Kablan Barbar
- Maroun Abi Assaf (ORCID: https://orcid.org/0009-0001-6339-5164)
- Souheil Tawk
Institutions
- Lebanese University (LB)
- Holy Spirit University of Kaslik (LB)
- University of Cincinnati (US)
Publication Details
- Journal
- WSEAS TRANSACTIONS ON INFORMATION SCIENCE AND APPLICATIONS
- Published
- 2024-12-20
- DOI
- https://doi.org/10.37394/23209.2024.21.51
- Citations
- 1
- Primary Topic
- Digital Rights Management and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.78