摘要 |
A system assigns a branch number to each record derived from a database and generates XML using this branch number to sequence parent/child records so that output XML is nested properly, regardless of how many levels exist for each branch in order to organize a set of hierarchical data with an unknown tree depth and structure. A system processes hierarchically structured data in a relational database using a database processor. The database processor processes hierarchically structured data in a database to provide, a) a level identifier for an individual data item in the structured data indicating a level of hierarchy associated with the individual data item and b) a branch identifier indicating a sequential order of processing of the individual data item in the structured data. A data processor populates executable application data with multiple level and branch identifiers. The executable application is used for providing a representation of a structure of the hierarchically structured data.
|