{'fraction_non_alphanumeric': 0.01520086862106406, 'fraction_numerical': 0.0, 'mean_word_length': 5.1466666666666665, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Towards Generic Weaving of Adaptation Aspects for XML

XML is one of the most used languages in the Web and is frequently used to describe large parts of web applications. A common approach to reduce complexity of web applications relying on XML is to use a multistaged architecture in form of a transformation pipeline. These pipelines usually employ a fixed set of complex transformations to convert an XML source document into a displayable output format. A second common principle is to separate a web application’s context-independent part from the contextdependent adaptation facet. In this paper, we present a generic approach that uses aspect-oriented programming (AOP) to separate and weave the adaptation facet of XML-based web applications using a multistaged architecture. We introduce an AOP-based terminology for adaptation aspects and present an existing aspect weaver prototype that realises our approach.