{'fraction_non_alphanumeric': 0.024147727272727272, 'fraction_numerical': 0.0, 'mean_word_length': 5.409090909090909, '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}}
A Method for Exporting Relational Schema into Document Type Definition

A method is proposed for publishing relational data into extensional markup language (XML). First, the characteristics of relational schemas represented by Entity-Relation (E-R) diagrams and XML document type definitions (DTDs) are analyzed. Secondly, the corresponding mapping rules are proposed. At last an algorithm based on edge tables is presented, which has two key points: one is that edge table is used to store the information of relational dictionary, the other is that structural information can be obtained from the resulting DTDs and other applications can optimize their query process using the structural information.