1. A method for storing a structured document in its native format in a database comprising the steps of: a) receiving a structured document; b) generating a hierarchical node tree comprising a plurality of nodes, wherein the node tree represents the structured document; and c) storing the plurality of nodes in at least one record in the database.