A method for associating information related to a component of a
structured document that is stored in its native format in a database
system includes generating a hierarchical node tree comprising a
plurality of nodes, where each node represents a component in the
structured document, and generating a path associated with each node,
where the path follows the hierarchical structure of the structured
document from a root node to the node. In each node, an identifier
associated with the path is stored. A table is provided that correlates
the identifier with information related to the associated path. The
information applies to the component represented by the node.