A solution is described that declares elements, attributes, and values
that define a hierarchical data file or a markup-language document. The
declarations by the solution are within the solution and include a
presentation application and a markup-language schema from which the
markup-language document can be inferred as having a structure based on
the markup-language schema. Portions of the markup-language document are
logically coupled with fragments of the markup-language schema. The
presentation application, when executed, forms an electronic form
containing data-entry fields associated with the coupled portions. The
solution can include a manifest of all files that can be used for
representing the markup-language document in the electronic form. The
files also allow a user in input data into the one or more data-entry
fields and control the validation of the data that the user inputs into
the one or more data-entry fields.