Tree construction for XML to XML document transformation

    公开(公告)号:US20060026505A1

    公开(公告)日:2006-02-02

    申请号:US11243123

    申请日:2005-10-04

    IPC分类号: G06F17/21

    CPC分类号: G06F17/227 G06F17/2247

    摘要: Transforming a user-supplied DTD satisfying a first XML grammar into a PDTD satisfying a second XML grammar, including converting DTD declarations of alternate content to sequences, converting DTD declarations of optional content to mandatory content, converting DTD declarations of imbedded sequences to subsequences, and demoting attribute definitions of DTD elements having attributes to children of the DTD elements having attributes. Embodiments include converting recursions into repetitions, demoting imbedded compound repetitions from element declarations having imbedded compound repetitions, and demoting imbedded leaves from elements having imbedded leaves.

    Method for scalable, fast normalization of XML documents for insertion of data into a relational database
    3.
    发明申请
    Method for scalable, fast normalization of XML documents for insertion of data into a relational database 审中-公开
    用于可扩展,快速归一化XML文档以便将数据插入关系数据库的方法

    公开(公告)号:US20050097128A1

    公开(公告)日:2005-05-05

    申请号:US10699203

    申请日:2003-10-31

    IPC分类号: G06F17/00 G06F17/30

    CPC分类号: G06F16/83

    摘要: Disclosed is a method of transferring data from a hierarchical file (having a hierarchical structure, e.g., a markup language file) to a relational database structure (made up of columns and rows. Before processing the actual data, the invention first partitions the hierarchical structure into sections, where each section is dedicated to at least one node of the hierarchical structure. The partitioning process is based on the document type definition file, which is separate from, and different than the hierarchical file. After completing the partitioning, the invention then parses the actual data contained in the hierarchical data file to produce a stream of data pairs and end of section indicators. During the data parsing process, the invention loads the data pairs into corresponding “sections” (created prior to the parsing process) as the data pairs are output from the parsing process. The invention also transfers the node data from these sections to the columns and rows of the relational database structure.

    摘要翻译: 公开了一种从分层文件(具有分层结构,例如标记语言文件)传送数据到关系数据库结构(由列和行组成)的方法,在处理实际数据之前,本发明首先划分层次结构 分段过程基于文档类型定义文件,该文件类型定义文件与分层文件分开,不同于分层文件,完成分区后,发明然后 解析分层数据文件中包含的实际数据,以产生数据对流和结束段指示符。在数据解析过程中,本发明将数据对加载到相应的“部分”(在解析过程之前创建)作为 从解析过程输出数据对,本发明还将节点数据从这些部分传送到相关的列和行 数据库结构。