3. The method of claim 1 , wherein the step of determining to defer a XML rewrite is further comprised of: determining whether or not an XML index exists that can be used to optimize said certain query; and in response to determining that said XML index does not exist, deciding to defer the XML rewrite of said certain query.
3. The method of claim 1 , wherein the step of determining to defer a XML rewrite is further comprised of: determining whether or not an XML index exists that can be used to optimize said certain query; and in response to determining that said XML index does not exist, deciding to defer the XML rewrite of said certain query. 4. The method of claim 3 , wherein the XML index contains a row for each node in a set of XML documents, and wherein said row contains the value of the node.