发明授权
US08051373B2 Method and system for converting a schema-based hierarchical data structure into a flat data structure
失效
用于将基于模式的分层数据结构转换为平面数据结构的方法和系统
- 专利标题: Method and system for converting a schema-based hierarchical data structure into a flat data structure
- 专利标题(中): 用于将基于模式的分层数据结构转换为平面数据结构的方法和系统
-
申请号: US11326892申请日: 2006-01-06
-
公开(公告)号: US08051373B2公开(公告)日: 2011-11-01
- 发明人: Chad Rothschiller , Michael J. McCormack , Ramakrishnan Natarajan
- 申请人: Chad Rothschiller , Michael J. McCormack , Ramakrishnan Natarajan
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Merchant & Gould
- 主分类号: G06F17/00
- IPC分类号: G06F17/00
摘要:
A method and system are provided for converting a hierarchical data structure into a flat data structure based on a schema. The format of the hierarchical data structure may be XML. A hierarchical data structure conforming to a schema is loaded into an application program. The data structure includes elements and attributes linked together in a parent-child relationship. The schema defines the hierarchical relationships between the elements and attributes in the hierarchical data structure. After the hierarchical data structure conforming to the schema has been loaded, a plurality of layout rules is applied to the hierarchical data based on the schema to create a flat data structure. The layout rules determine how the hierarchical data will be inserted in the flat data structure. The layout rules may be applied by identifying properties in the schema which identify occurrence requirements for elements defined in the schema. After the layout rules have been applied to the hierarchical data, the hierarchical data is rendered into a spreadsheet by inserting the data in rows and columns.
公开/授权文献
信息查询