A method and system for reformatting data. The method involves a series of steps which can include identifying a template which corresponds to a specified document. The specified document can contain formatted data. Additionally, the step of applying a template to the specified document can be extracting data from the formatted content. The step of formatting the data using a different markup language can be performed.