Fix: only create CDATA section(s) in XHTML mode.
Add character attributes in the database; import character attributes from the API.
Use character attributes for training time estimate.