Web Conversion Process (XML)
Please note: this is hypothetical as the required input and output mechanisms have not yet been built.
Step 1: Convert Word document to XML
Create a new DocBook V5 “article”.
Make sure you are in “author” view as shown below.
Make sure you have set up preferences to allow broken word xml. Go to options->Preferences.
Then search “schema aware” in the search box and click on the corresponding highlighted result. On the Schema Aware page tick the “custom” radio button and uncheck “Reject action when the result is invalid”, pressing “OK” to confirm.
Now, in the article view click just after “text” as shown in the following image. This is important and the editor is very picky about where content can be pasted in.
Copy and paste the entire Word document at that position. After a short wait you should see a “Validation Problem” prompt. Select the first choice “inside the closest ‘sect1’ element, to the right of the current position” and press “OK”.
You should see something like this, click on “text” at the bottom to proceed to the next step. If the document does not format properly remove any page breaks in the word file and try again. You can do this in word by search and replacing ^m with nothing.
Once in text view, delete the address tag, email tag, the highlighted subtitle and sample paragraph.
Switch to text view and change the title to that of the document.
Step through the red marks on the right, you can do this by clicking them, removing any xml errors (these will mainly be mismatched tags). Do tables, images, internal links etc. [TODO]
Step x: Upload XML to MOS
Download web publication archive from MOS
Send web publication archive to SG web team
Download EPUB/MOBI e-book files from MOS