XML is among the preferred formats for storing the structure of documents such as scientic articles, manuals, documentation, literary works, etc. Sometimes publishers adopt established and well-known vocabularies such as DocBook and TEI, other times they create partially or entirely new ones that better deal with the particular requirements of their documents. The (explicit and implicit) requirements of use in these vocabularies often follow well-established patterns, creating meta-structures (the block, the container, the inline element, etc.) that persist across vocabularies and authors and that describe a truer and more general conceptualization of the documents' building blocks. Addressing such meta-structures not only gives a better insight of what documents really are composed of, but provides abstract and more general mechanisms to work on documents regardless of the availability of specic schemas, tools and presentation stylesheets. In this paper we introduce a schema-independent theory based on eleven structural patterns. We provide a denition of such patterns and how they synthesize characteristics emerging from real markup documents. Additionally, we propose an algorithm that allows us to identify the pattern of each element in a set of homogeneous markup documents.
Di Iorio A., Peroni S., Poggi F., Vitali F. (2012). A first approach to the automatic recognition of structural patterns in XML documents. NEW YORK : ACM Press [10.1145/2361354.2361374].
A first approach to the automatic recognition of structural patterns in XML documents
DI IORIO, ANGELO;PERONI, SILVIO;POGGI, FRANCESCO;VITALI, FABIO
2012
Abstract
XML is among the preferred formats for storing the structure of documents such as scientic articles, manuals, documentation, literary works, etc. Sometimes publishers adopt established and well-known vocabularies such as DocBook and TEI, other times they create partially or entirely new ones that better deal with the particular requirements of their documents. The (explicit and implicit) requirements of use in these vocabularies often follow well-established patterns, creating meta-structures (the block, the container, the inline element, etc.) that persist across vocabularies and authors and that describe a truer and more general conceptualization of the documents' building blocks. Addressing such meta-structures not only gives a better insight of what documents really are composed of, but provides abstract and more general mechanisms to work on documents regardless of the availability of specic schemas, tools and presentation stylesheets. In this paper we introduce a schema-independent theory based on eleven structural patterns. We provide a denition of such patterns and how they synthesize characteristics emerging from real markup documents. Additionally, we propose an algorithm that allows us to identify the pattern of each element in a set of homogeneous markup documents.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.