Apparatus, systems and methods for configurable defaults for XML data
First Claim
1. A computer-implemented method, comprising:
- generating a data tree in at least one memory by parsing a first extensible markup language (XML) file, stored in at least one tangible computer-readable medium, utilizing at least one processing unit, the data tree comprising a plurality of nodes;
reading at least one default setting request for at least one node of the plurality of nodes from a second XML file, stored in the at least one tangible computer-readable medium, utilizing the at least one processing unit, the at least one default setting request comprising a specified default data generation code location of default data generation code to generate a default data value when executed;
generating the default data value for the at least one node by executing the default data generation code from the specified default data generation code location utilizing the at least one processing unit; and
modifying the data tree by recording the default data value for the at least one node in the data tree.
2 Assignments
0 Petitions
Accused Products
Abstract
A data tree is generated in memory by parsing a first XML file. Default setting requests and validation requests are read from a second XML file. Default data values for nodes in the data tree are generated by executing default data generation code from locations specified in the default setting requests and recorded in the data tree. The content of data stored in nodes of the data tree is then validated by executing validation code from locations specified in the validation requests. The data tree is then searched by getting a nodepath, parsing the nodepath into a plurality of path pieces, searching the data tree based on each of the path pieces, and returning one or more nodes of the data tree based on the search that satisfy the path pieces. A data value of one or more nodes or child nodes may be specified to narrow the search.
20 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
generating a data tree in at least one memory by parsing a first extensible markup language (XML) file, stored in at least one tangible computer-readable medium, utilizing at least one processing unit, the data tree comprising a plurality of nodes; reading at least one default setting request for at least one node of the plurality of nodes from a second XML file, stored in the at least one tangible computer-readable medium, utilizing the at least one processing unit, the at least one default setting request comprising a specified default data generation code location of default data generation code to generate a default data value when executed; generating the default data value for the at least one node by executing the default data generation code from the specified default data generation code location utilizing the at least one processing unit; and modifying the data tree by recording the default data value for the at least one node in the data tree. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computing system, comprising:
-
at least one processing unit; at least one memory, coupled to the at least one processing unit; at least one tangible computer-readable storage medium, coupled to the at least one processing unit, configured to store a first extensible markup language (XML) file and a second XML file; an XML parsing component, executable by the at least one processing unit, configured to generate a data tree in the at least one memory by parsing the first XML file, the data tree comprising a plurality of nodes; and a default setting component, executable by the at least one processing unit, configured to read at least one default setting request for at least one node of the plurality of nodes from the second XML file, the at least one default setting request comprising a specified default data generation code location of default data generation code executable to generate a default data value; wherein the default setting component is configured to generate the default data value for the at least one node by executing the default data generation code from the specified default data generation code location, the default setting component is configured to modify the data tree by recording the default data value for the at least one node in the data tree, and the processing unit is configured to store the modified data tree in a third XML file in the at least one tangible computer-readable storage medium. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product, including a computer readable storage medium and instructions, executable by a processing unit, tangibly embodied in the computer readable storage medium, the instructions comprising:
-
a first set of instructions configured to generate a data tree in at least one memory by parsing a first extensible markup language (XML) file, stored in at least one tangible computer-readable medium, utilizing at least one processing unit, the data tree comprising a plurality of nodes; a second set of instructions configured to read at least one default setting request for at least one node of the plurality of nodes from a second XML file, stored in the at least one tangible computer-readable medium, utilizing the at least one processing unit, the at least one default setting request comprising a specified default data generation code location of default data generation code executable to generate a default data value; a third set of instructions configured to generate the default data value for the at least one node by executing the default data generation code from the specified default data generation code location utilizing the at least one processing unit; and a fourth set of instructions configured to modify the data tree by recording default data value for the at least one node in the data tree. - View Dependent Claims (19, 20)
-
Specification