A method and system are provided for maintaining an XML index in response
to piece-wise modifications on indexed XML documents. The database server
that manages the XML index determines which nodes are involved in the
piece-wise modifications, and updates the XML index based on only those
nodes. Index entries for nodes not involved in the piece-wise
modifications remain unchanged.