1. A method for parsing documents in query processing, said method comprising: producing at least one index of a document written in a mark-up language; corresponding said index to said document; scanning said document; and selectively skipping portions of said document based on instructions from said index.