Think, however, about the things that you cannot do using the approach we've just illustrated. Suppose that a situation arises in which you want to send back to the client browser only a subset of the information that your search locates. Or suppose that, for whatever reason, you want to process the data without sending it back to the client browser at all.
There is no way to do this using the static HTM/IDX/HTX trio. The data entered into the HTML form gets posted to the IDX file. What gets posted to the IDX file gets piped to the HTX file and sent back to the client browser. Period. Clearly, for all the simplicity and power of static querying, there are trade-offs.