XhtmlCommon.dita 1.8 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <concept id="XhtmlCommon">
  5. <title>Common HTML-based processing</title>
  6. <shortdesc>After the pre-processing operation runs, HTML-based builds each run a common series of Ant targets to
  7. generate HTML file. Navigation may be created before or after this set of common routines.</shortdesc>
  8. <conbody>
  9. <p>After the pre-processing is completed, the following targets are run for all of the HTML-based builds:<ul>
  10. <li>If the <parmname>args.css</parmname> parameter is passed to the build to add a CSS file, the
  11. <codeph>copy-css</codeph> target copies the CSS file from its source location to the relative location in
  12. the output directory.</li>
  13. <li>If a DITAVAL file is used, the <codeph>copy-revflag</codeph> target copies the default start- and
  14. end-revision flags into the output directory.</li>
  15. <li>The DITA topics are converted to HTML files. Unless the <xmlatt>chunk</xmlatt> attribute was specified, each
  16. DITA topic in the temporary directory now corresponds to one HTML file. The
  17. <codeph>dita.inner.topics.xhtml</codeph> target is used to process documents that are in the map directory
  18. (or subdirectories of the map directory). The <codeph>dita.outer.topics.xhtml</codeph> target is used to
  19. process documents that are outside of the scope of the map, and thus might end up outside of the designated
  20. output directory. Various DITA-OT parameters control how documents processed by the
  21. <codeph>dita.outer.topics.xhtml</codeph> target are handled.</li>
  22. </ul>
  23. </p>
  24. </conbody>
  25. </concept>