Oxygen Author & Editor (Single Project, Multiple Output)

*NOTE: PDF and WebHelp files are viewable online, to view CHM file, download it.
Right-click the CHM file, select Properties > Unlock > Apply > OK. Now open the CHM file to view.

Framemaker (Structured Authoring)

*NOTE: Examples show Structured Framemaker Authoring & published output in PDF.

Coding/Scripting: PHP, XML, DTD, XSD, XSLT, HTML

This PHP Script reads data from the database, then saves result in (newly created) XML File.
This DTD Definition  as well as this XSD Schema, both applied to the XML File for validation.
This XSLT Script applies (styles/Links/Queries) to the XML File, then displays result as an HTML Page.