The process of Magellan publishing consists of the following steps:
- XLST extracts and converts the xml from the database. It sends the content and formatting information to Saxon.
- RXML file converts the external media files to a format that Saxon can read. These are:
- Images and media.
- JSON data files.
- Templates.
- CSS files.
- Both outputs are sent to Saxon where it automatically generates:
- JSON Data files - (table of contents, linked references, the index, dynamically entered text)
- JSON Content files - (the search engine).
- HTML Content files.
- RXML then inserts the external media files correctly into the HTML output (which has been generated by Saxon).
- The Magellan engine is copied to the output folder.
- The html and the graphics, etc. are copied into the locale folder in the assets folder of the Magellan engine.