plugin.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. See the accompanying license.txt file for applicable licenses.
  5. -->
  6. <plugin id="org.dita.xhtml">
  7. <!-- extension points -->
  8. <extension-point id="dita.xsl.xhtml" name="HTML/XHTML XSLT import"/>
  9. <extension-point id="dita.conductor.html.param" name="HTML XSLT parameters"/>
  10. <extension-point id="dita.conductor.xhtml.param" name="XHTML XSLT parameters"/>
  11. <extension-point id="dita.conductor.xhtml.toc.param" name="HTML/XSLT XSLT parameter"/>
  12. <extension-point id="dita.xsl.htmltoc" name="HTML/XHTML TOC XSLT import"/>
  13. <extension-point id="dita.xsl.html.cover" name="HTML/XHTML Cover XSLT import"/>
  14. <!-- extensions -->
  15. <transtype name="base-html" abstract="true" desc="HTML-based output">
  16. <param name="args.artlbl" desc="Specifies whether to generate a label for each image; the label will contain the image file name." type="enum">
  17. <val>yes</val>
  18. <val default="true">no</val>
  19. </param>
  20. <param name="args.breadcrumbs" desc="Specifies whether to generate breadcrumb links." type="enum">
  21. <val>yes</val>
  22. <val default="true">no</val>
  23. </param>
  24. <param name="args.copycss" desc="Specifies whether to copy the custom .css file to the output directory." type="enum">
  25. <val>yes</val>
  26. <val default="true">no</val>
  27. </param>
  28. <param name="args.css" desc="Specifies the name of a custom .css file." type="file"/>
  29. <param name="args.csspath" desc="Specifies the location of a copied .css file relative to the output directory." type="file"/>
  30. <param name="args.cssroot" desc="Specifies the directory that contains the custom .css file." type="file"/>
  31. <param name="args.dita.locale" desc="Specifies the language locale file to use for sorting index entries." type="string"/>
  32. <param name="args.ftr" desc="Specifies an XML file that contains content for a running footer." type="file"/>
  33. <param name="args.gen.default.meta"
  34. desc="Specifies whether to generate extra metadata that targets parental control scanners, meta elements with name=&#34;security&#34; and name=&#34;Robots&#34;." type="enum">
  35. <val>yes</val>
  36. <val default="true">no</val>
  37. </param>
  38. <param name="args.hdf" desc="Specifies an XML file that contains content to be placed in the document head." type="file"/>
  39. <param name="args.hdr" desc="Specifies an XML file that contains content for a running header." type="file"/>
  40. <param name="args.hide.parent.link" desc="Specifies whether to hide links to parent topics in the HTML or XHTML output." type="enum">
  41. <val>yes</val>
  42. <val default="true">no</val>
  43. </param>
  44. <param name="args.indexshow" desc="Specifies whether the content of &lt;indexterm&gt; elements are rendered in the output." type="enum">
  45. <val>yes</val>
  46. <val default="true">no</val>
  47. </param>
  48. <param name="args.outext" desc="Specifies the file extension for HTML or XHTML output." type="string">
  49. <val default="true">html</val>
  50. </param>
  51. <param name="args.xhtml.classattr" desc="Specifies whether to include the DITA class ancestry inside the XHTML elements." type="enum">
  52. <val default="true">yes</val>
  53. <val>no</val>
  54. </param>
  55. <param name="args.xsl" desc="Specifies a custom XSL file to be used instead of the default XSL transformation." type="file"/>
  56. </transtype>
  57. <transtype name="common-html" extends="base-html" desc="HTML5 and XHTML">
  58. <param name="args.xhtml.contenttarget" desc="Specifies the value of the @target attribute on the &lt;base&gt; element in the TOC file." type="string">
  59. <val default="true">contentwin</val>
  60. </param>
  61. <param name="args.xhtml.toc" desc="Specifies the base name of the TOC file." type="string">
  62. <val default="true">index</val>
  63. </param>
  64. <param name="args.xhtml.toc.class" desc="Specifies the value of the @class attribute on the &lt;body&gt; element in the TOC file." type="string"/>
  65. <param name="args.xhtml.toc.xsl" desc="Specifies a custom XSL file to be used for TOC generation." type="file"/>
  66. </transtype>
  67. <transtype name="xhtml" extends="common-html" desc="XHTML"/>
  68. <feature extension="dita.conductor.target.relative" file="conductor.xml"/>
  69. <feature extension="dita.xsl.messages" file="resource/messages.xml"/>
  70. <template file="build_general_template.xml"/>
  71. <template file="build_dita2xhtml_template.xml"/>
  72. <template file="xsl/dita2html-base_template.xsl"/>
  73. <template file="xsl/map2htmltoc_template.xsl"/>
  74. <template file="xsl/map2html-coverImpl_template.xsl"/>
  75. </plugin>