Let we are in situation, when xml document (or its stub) is on the server and user wants to edit it. Consequently, the application can use both (current) document and (static) DTD for creating web form - in other words, the web form have to be created dynamicaly, according to current data and some validation schema.