parameters-other.dita 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 DITA-OT uses for specific pre-processing
  10. stages.</shortdesc>
  11. <prolog>
  12. <metadata>
  13. <keywords>
  14. <indexterm>XSLT
  15. <index-see-also>extension points</index-see-also>
  16. <index-see-also>preprocessing</index-see-also></indexterm>
  17. <indexterm>preprocessing
  18. <indexterm>XSLT</indexterm></indexterm>
  19. <indexterm>preprocessing
  20. <index-see-also>Java</index-see-also></indexterm>
  21. <indexterm>preprocessing
  22. <indexterm>extension points, parameters</indexterm></indexterm>
  23. <indexterm>Java
  24. <indexterm>out of memory</indexterm></indexterm>
  25. <indexterm>memory</indexterm>
  26. </keywords>
  27. </metadata>
  28. </prolog>
  29. <refbody>
  30. <section>
  31. <parml>
  32. <plentry>
  33. <pt id="dita.html5.reloadstylesheet">
  34. <parmname>dita.html5.reloadstylesheet</parmname>
  35. </pt>
  36. <pt id="dita.preprocess.reloadstylesheet">
  37. <parmname>dita.preprocess.reloadstylesheet</parmname>
  38. </pt>
  39. <pt id="dita.preprocess.reloadstylesheet.clean-map">
  40. <parmname>dita.preprocess.reloadstylesheet.clean-map</parmname>
  41. </pt>
  42. <pt id="dita.preprocess.reloadstylesheet.conref">
  43. <parmname>dita.preprocess.reloadstylesheet.conref</parmname>
  44. </pt>
  45. <pt id="dita.preprocess.reloadstylesheet.flag-module">
  46. <parmname>dita.preprocess.reloadstylesheet.lag-module</parmname>
  47. </pt>
  48. <pt id="dita.preprocess.reloadstylesheet.mapref">
  49. <parmname>dita.preprocess.reloadstylesheet.mapref</parmname>
  50. </pt>
  51. <pt id="dita.preprocess.reloadstylesheet.mappull">
  52. <parmname>dita.preprocess.reloadstylesheet.mappull</parmname>
  53. </pt>
  54. <pt id="dita.preprocess.reloadstylesheet.maplink">
  55. <parmname>dita.preprocess.reloadstylesheet.maplink</parmname>
  56. </pt>
  57. <pt id="dita.preprocess.reloadstylesheet.topicpull">
  58. <parmname>dita.preprocess.reloadstylesheet.topicpull</parmname>
  59. </pt>
  60. <pt id="dita.xhtml.reloadstylesheet">
  61. <parmname>dita.xhtml.reloadstylesheet</parmname>
  62. </pt>
  63. <pd id="dita.preprocess.reloadstylesheet.desc">
  64. <p>Specifies whether DITA-OT reloads the XSL style sheets that are used for the transformation. The allowed
  65. values are <option>true</option> and <option>false</option>; the default value is
  66. <option>false</option>.</p>
  67. <p>During the pre-processing stage, DITA-OT processes one DITA topic at a time, using the same XSLT
  68. stylesheet for the entire process. These parameters control whether Ant will use the same
  69. <codeph>Transformer</codeph> object in Java, the object that handles the XSLT processing, for all
  70. topics, or create a separate <codeph>Transformer</codeph> for each topic.</p>
  71. <p>The default (<option>false</option>) option uses the same <codeph>Transformer</codeph>, which is a little
  72. faster, because it will not need to parse/compile the XSLT stylesheets and only needs to read the source
  73. trees with <codeph>document()</codeph> once. The downside is that it will not release the source trees
  74. from memory, so you can run out of memory.</p>
  75. <note type="tip">For large projects that generate Java out-of-memory errors during transformation, set the
  76. parameter to <option>true</option> to allow the XSLT processor to release memory. You may also need to
  77. increase the memory available to Java.</note>
  78. </pd>
  79. </plentry>
  80. </parml>
  81. </section>
  82. </refbody>
  83. </reference>