XhtmlCommon.dita 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. <prolog>
  9. <metadata>
  10. <keywords>
  11. <indexterm><xmlatt>chunk</xmlatt><indexterm>HTML-based processing</indexterm></indexterm>
  12. <indexterm>DITAVAL<indexterm>HTML-based formats</indexterm></indexterm>
  13. <indexterm>HTML<indexterm>common processing</indexterm></indexterm>
  14. <indexterm>CSS<indexterm>HTML transforms</indexterm></indexterm>
  15. </keywords>
  16. </metadata>
  17. </prolog>
  18. <conbody>
  19. <p>After the pre-processing is completed, the following targets are run for all of the HTML-based builds:</p>
  20. <p>
  21. <ul>
  22. <li>If the <parmname>args.css</parmname> parameter is passed to the build to add a CSS file, the
  23. <codeph>copy-css</codeph> target copies the CSS file from its source location to the relative location in
  24. the output directory.</li>
  25. <li>If a DITAVAL file is used, the <codeph>copy-revflag</codeph> target copies the default start- and
  26. end-revision flags into the output directory.</li>
  27. <li>The DITA topics are converted to HTML files. Unless the <xmlatt>chunk</xmlatt> attribute was specified, each
  28. DITA topic in the temporary directory now corresponds to one HTML file. The
  29. <codeph>dita.inner.topics.xhtml</codeph> target is used to process documents that are in the map directory
  30. (or subdirectories of the map directory). The <codeph>dita.outer.topics.xhtml</codeph> target is used to
  31. process documents that are outside of the scope of the map, and thus might end up outside of the designated
  32. output directory. Various DITA-OT parameters control how documents processed by the
  33. <codeph>dita.outer.topics.xhtml</codeph> target are handled.</li>
  34. </ul>
  35. </p>
  36. </conbody>
  37. </concept>