Yes, that would work too. But the question remains, as I asked of another contributor - why do it that way? It would mean creating a series of static documents.
The script is running, why not let it deal with the issue and keep code and/or HTML writing to a minimum?