The TocJS Transformation Doesn't Generate All Files for a Tree-Like TOC

The TocJS transformation of a DITA map does not generate all the files needed to display the tree-like table of contents. To get a complete working set of output files you should follow these steps:
  1. Run the XHTML transformation on the same DITA map. Make sure the output gets generated in the same output folder as for the TocJS transformation.
  2. Copy the content of [OXYGEN_DIR]/frameworks/dita/DITA-OT/plugins/com.sophos.tocjs/basefiles folder in the transformation's output folder.
  3. Copy the [OXYGEN_DIR]/frameworks/dita/DITA-OT/plugins/com.sophos.tocjs/sample/basefiles/frameset.html file in the transformation's output folder.
  4. Edit frameset.html file.
  5. Locate element <frame name="contentwin" src="concepts/about.html">.
  6. Replace "concepts/about.html" with "index.html".