摘要 |
A method of storing a hierarchical document in a relational database comprises parsing a hierarchical document, associating a unique identifier with respective parsed nodes of the document which includes information about the hierarchical position of the node in the document, and storing the node with its identifier in a table of a relational database. A relational database comprising a table having an node field for storing an node of a hierarchical document, and an identifier field for storing an identifier associated with each respective node stored in the node field is also described, as is a method of writing a hierarchical document comprising reading data from a relational database which is representative of nodes of a hierarchical document, generating predetermined software events for respective read nodes, and passing the software events to a content handler which is arranged to translate each software event into a written node of the hierarchical document.
|