1. A method for providing a transformation from an extensible markup language document having an arbitrary vocabulary to a document instance in an intermediate format, comprising: analyzing, using a set of heuristic rules, a document instance of the extensible markup language document having the arbitrary vocabulary to determine a mapping between the arbitrary vocabulary of the extensible markup language document and a vocabulary designed to express a logical structure of the extensible markup language document having the arbitrary vocabulary; analyzing instance schema of the original document to produce a schema mapping; and generating a transformation from the determined mapping and the produced schema mapping.