Method and system for inferring a schema from a hierarchical data structure for use in a spreadsheet
Abstract
A method and system are provided for inferring a schema from an electronic document containing hierarchical data for use in a spreadsheet application program. The electronic document containing the hierarchical data is received into an application program. The application program may be a spreadsheet application program. The format of the hierarchical data structure may be XML. The hierarchical data includes a set of nodes making up the structure of the hierarchical data. The nodes may be XML elements and attributes. The hierarchical data is then parsed to discover one of the nodes in the hierarchical data. Once the node has been discovered, content associated with the discovered node is saved to a memory location in the computer system. The content may include data associated with the discovered node and the type of data associated with the node. The hierarchical data is then parsed again to discover subsequent nodes until the content for all of the nodes has been saved to the memory location. Then a schema generator generates schema elements using complex rules based on the particular qualities of each discovered node for each discovered node until a schema is generated for the h
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for inferring a schema from hierarchical data within an electronic document, comprising: in an application program, receiving the electronic document containing the hierarchical eXtensible Markup Language (XML) data and determining from the electronic document that the hierarchical data within the electronic document does not reference a schema, wherein the hierarchical data includes one or more nodes; (a) discovering one of the nodes in the hierarchical data; (b) saving content associated with the discovered node when the node is not determined to be repeating; (c) repeating tasks (a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- "Altova markup your mind!", http://web.archive.org/web/20021204211721/http://altova.com/products-ide.html, Dec. 2002, pp. 1-3.
- "Arbortext and Accessibility", http://web.archive.org/web/20021219133536/www.arbortext.com/html/accessibility.html, Dec. 2002, pp. 1-5.
- "Arbortext's Support for XSL-FO", http://web.archive.org/web/20021221021632/www.arbortext.com/html/xsl-fo.html. Dec. 2002, pp. 1-4.
- "BizTalk Server 2002 Compiling Data", http://msdn.microsoft.com/library/en-us/ibts-2002/htm/lat-xmltools-map-concept-drgl.a..., Microsoft Corporation, 1999-2001, pp. 1.
- "BizTalk Server 2002 Mapper User Interface", http://msdn.microsoft.com/library/en-us/bts-2002/htm/lat-xmltools-map-concept-codw..., Microsoft Corporation, 1999-2001, pp. 1.