The TFB XML DTD is an enhanced version of the NLM DTD. This documentation is designed to explain aspects of the DTD that are either diffferent or not covered by the NLM documentation, hence you will need to read this in conjunction with the documentation on the NLM website (

General overview

  • XML will be delivered as a final deliverable along with the press PDF and will conform to the TFB DTD.
  • Use UTF-8 to encode all characters in XML deliverables.
  • The typesetter can typeset in whatever application suits them best.
  • If there are equations in the document then they should be tagged in the MathML 2.0 namespace conforming to the W3C recommendation (
  • Tables should follow the OASIS Exchange CALS model as outlined in ( Note: we are not using the namespace oasis as outlined on the NLM website, e.g. <oasis:entry /> is simply <entry />
  • Figures should be supplied in print ready format. Line art should be 1200 dpi in tiff format and halftones to 600 dpi in jpeg format where possible, or the resolution of the original print artwork if supplied at a lower resolution for press.
  • The figures should be named by chapter number and figure number, e.g. Figure 1.1 would be called fig1_1.tif and Figure 1 would be fig1.jpg (extension dependent on file type). The figure should be named by the first three letters of the label followed by the chapter number and figure number, e.g. Plate 1.1 would be pla1_1.tif. Please do not use "." in names of figures.
  • PDFs should be named by the ISBN13 of the hardback or paperback if no hardback exists. The XML should be named by the master eBook ISBN13 number. The name should only contain numbers, i.e. hyphens should be removed.
  • The DTD and a sample XML file can be downloaded from the downloads page.