parameters-other.dita 4.1 KB

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