Mapping of data from XML to SQL
First Claim
1. A method for mapping an XML encoded dataset into a set of SQL tables comprising:
- identifying at least one hierarchical structure associated with said XML encoded dataset; and
converting said XML encoded dataset associated with said identified hierarchical structure, wherein for said identified hierarchical structure said converting step comprises;
determining a node element set for said identified hierarchical structure associated with said XML encoded dataset, wherein a node element in said node element set is a discrete level of said identified hierarchical structure of said dataset;
determining one or more nodes of said XML encoded dataset, said node being an instance of a node element;
allocating to said node a unique node identifier; and
generating an SQL node table containing one or more records, said one or more records corresponding to a respective one or more of said allocated node identifiers;
wherein said XML encoded dataset includes a plurality of predefined portions of text-based data, the plurality of predefined portions of said text-based data being encoded using XML, and being associated with a plurality of attributes for organizing said predefined portions of said text-based data; and
wherein said predefined portions include at least one modified and stored predefined portion encoded using XML, said at least one modified predefined portion being associated with one or more attributes for organizing said predefined portions and said modified predefined portion of said text-based data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, an apparatus and a computer program product for converting an XML encoded dataset into a minimal set of SQL tables and provided. In the method, a hierarchical structure in the XML encoded dataset is identified. A node element set for the XML encoded dataset is determined, wherein each node element in the node element set is a discrete level of the hierarchical structure of the dataset. One or more nodes of the XML encoded dataset are determined, each node being an instance of a node element. A unique node identifier is allocated to each node. Then, an SQL node table containing one or more records is generated, each record corresponding to a respective one of the allocated node identifiers. An SQL ancestry table is optionally generated to define the inter-relationships among nodes of the identified hierarchical structure of the XML encoded dataset.
108 Citations
33 Claims
-
1. A method for mapping an XML encoded dataset into a set of SQL tables comprising:
-
identifying at least one hierarchical structure associated with said XML encoded dataset; and converting said XML encoded dataset associated with said identified hierarchical structure, wherein for said identified hierarchical structure said converting step comprises; determining a node element set for said identified hierarchical structure associated with said XML encoded dataset, wherein a node element in said node element set is a discrete level of said identified hierarchical structure of said dataset; determining one or more nodes of said XML encoded dataset, said node being an instance of a node element; allocating to said node a unique node identifier; and generating an SQL node table containing one or more records, said one or more records corresponding to a respective one or more of said allocated node identifiers; wherein said XML encoded dataset includes a plurality of predefined portions of text-based data, the plurality of predefined portions of said text-based data being encoded using XML, and being associated with a plurality of attributes for organizing said predefined portions of said text-based data; and wherein said predefined portions include at least one modified and stored predefined portion encoded using XML, said at least one modified predefined portion being associated with one or more attributes for organizing said predefined portions and said modified predefined portion of said text-based data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for mapping an XML encoded dataset into a set of SQL tables, said apparatus comprising:
-
at least one processor for identifying at least one hierarchical structure associated with said XML encoded dataset; and a converter for converting said XML encoded dataset associated with said identified hierarchical structure, said converter comprising; at least one processor for determining a node element set for said identified hierarchical structure of said XML encoded dataset, wherein a node element in said node element set is a discrete level of said identified hierarchical structure of said dataset; at least one processor for determining one or more nodes of said XML encoded dataset, said node being an instance of a node element; an allocator for allocating to said node a unique node identifier; and a generator for generating an SQL node table containing one or more records, said record corresponding to a respective one or more of said allocated node identifiers; wherein said XML encoded dataset includes a plurality of predefined portions of text-based data, said predefined portions of said text-based data being encoded using XML, and being associated with a plurality of attributes for organizing said predefined portions of said text-based data; and wherein said predefined portions include at least one modified and stored predefined portion encoded using XML, said modified predefined portion being associated with one or more attributes for organizing said predefined portions and said modified predefined portion of said text-based data. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer program product having a non-transitory computer readable medium, said non-transitory computer readable medium having a computer program recorded therein for mapping an XML encoded dataset into a set of SQL tables, said computer program product comprising:
-
computer program code for identifying at least one hierarchical structure associated with said XML encoded dataset; computer program code for converting said XML dataset associated with said identified hierarchical structure, said computer program code comprising; computer program code for determining a node element set for said identified hierarchical structure of said XML encoded dataset, wherein a node element in said node element set is a discrete level of said identified hierarchical structure of said dataset; computer program code for determining one or more nodes of said XML encoded dataset, said node being an instance of a node element; computer program code for allocating to said node a unique node identifier, and computer program code for generating an SQL node table containing one or more records, said one or more records corresponding to a respective one or more of said allocated node identifiers; wherein said XML encoded dataset includes a plurality of predefined portions of text-based data, each predefined portion of said text-based data being encoded using XML, and being associated with a plurality of attributes for organizing said predefined portions of said text-based data; and wherein said predefined portions include at least one modified and stored predefined portion encoded using XML, said modified predefined portion being associated with one or more attributes for organizing said predefined portions and said modified predefined portion of said text-based data. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification