A method, system, and computer program product for automatic parsing of a markup language (ML) document are provided. The method includes receiving a request from an ML producer to write an ML document including ML data in a text format. The method also includes passing the ML data in the text format to an ML parser, where the ML parser translates the ML data in the text format into a parsed binary format. The method additionally includes writing the ML data in the text format as a text format ML document to a data storage device, and writing the ML data in the parsed binary format as a parsed binary format ML document to the data storage device.
展开▼