parameters-other.dita 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <reference id="ant-parameters-other">
  5. <title>Other parameters</title>
  6. <titlealts>
  7. <navtitle>Other</navtitle>
  8. </titlealts>
  9. <shortdesc>These parameters enable you to reload style sheets that the DITA-OT uses for specific pre-processing
  10. stages.</shortdesc>
  11. <refbody>
  12. <section>
  13. <parml>
  14. <plentry>
  15. <pt id="dita.html5.reloadstylesheet">
  16. <parmname>dita.html5.reloadstylesheet</parmname>
  17. </pt>
  18. <pt id="dita.preprocess.reloadstylesheet">
  19. <parmname>dita.preprocess.reloadstylesheet</parmname>
  20. </pt>
  21. <pt id="dita.preprocess.reloadstylesheet.clean-map">
  22. <parmname>dita.preprocess.reloadstylesheet.clean-map</parmname>
  23. </pt>
  24. <pt id="dita.preprocess.reloadstylesheet.conref">
  25. <parmname>dita.preprocess.reloadstylesheet.conref</parmname>
  26. </pt>
  27. <pt id="dita.preprocess.reloadstylesheet.flag-module">
  28. <parmname>dita.preprocess.reloadstylesheet.lag-module</parmname>
  29. </pt>
  30. <pt id="dita.preprocess.reloadstylesheet.mapref">
  31. <parmname>dita.preprocess.reloadstylesheet.mapref</parmname>
  32. </pt>
  33. <pt id="dita.preprocess.reloadstylesheet.mappull">
  34. <parmname>dita.preprocess.reloadstylesheet.mappull</parmname>
  35. </pt>
  36. <pt id="dita.preprocess.reloadstylesheet.maplink">
  37. <parmname>dita.preprocess.reloadstylesheet.maplink</parmname>
  38. </pt>
  39. <pt id="dita.preprocess.reloadstylesheet.topicpull">
  40. <parmname>dita.preprocess.reloadstylesheet.topicpull</parmname>
  41. </pt>
  42. <pt id="dita.xhtml.reloadstylesheet">
  43. <parmname>dita.xhtml.reloadstylesheet</parmname>
  44. </pt>
  45. <pd id="dita.preprocess.reloadstylesheet.desc">
  46. <p>Specifies whether the DITA-OT reloads the XSL style sheets that are used for the transformation. The
  47. allowed values are <option>true</option> and <option>false</option>; the default value is
  48. <option>false</option>.</p>
  49. <p>During the pre-processing stage, DITA-OT processes one DITA topic at a time, using the same XSLT
  50. stylesheet for the entire process. These parameters control whether Ant will use the same
  51. <codeph>Transformer</codeph> object in Java, the object that handles the XSLT processing, for all
  52. topics, or create a separate <codeph>Transformer</codeph> for each topic.</p>
  53. <p>The default (<option>false</option>) option uses the same <codeph>Transformer</codeph>, which is a little
  54. faster, because it will not need to parse/compile the XSLT stylesheets and only needs to read the source
  55. trees with <codeph>document()</codeph> once. The downside is that it will not release the source trees
  56. from memory, so you can run out of memory.</p>
  57. <note type="tip">For large projects that generate Java out-of-memory errors during transformation, set the
  58. parameter to <option>true</option> to allow the XSLT processor to release memory. You may also need to
  59. increase the memory available to Java.</note>
  60. </pd>
  61. </plentry>
  62. </parml>
  63. </section>
  64. </refbody>
  65. </reference>