1. A method for conversion of input data to a markup format comprising: creating a logical structure for an output document in the markup format; obtaining elements for the logical structure from a format definition; arranging the elements for the logical structure based on requirements from the format definition; inserting values for the nodes, one or more values being derived from the input data; and generating an output document based on the logical structure.