The document proposes a new indexing technique for XML document retrieval that addresses issues with existing techniques. It represents an XML document as a tree structure with nodes corresponding to elements, attributes, and content. Nodes are labeled with start/end positions and level to allow efficient updates by leaving gaps between labels. The technique permits fast retrieval of ancestor-descendant and parent-child relationships without recomputing the index on updates. Future work could include indexing comments and handling two separate indices for updates and queries.