plugin-sample.dita 1.3 KB

12345678910111213141516171819202122
  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="plugin-sample" xml:lang="en-US">
  5. <title>Example plugin.xml file</title>
  6. <shortdesc>The following is a sample of a <filepath>plugin.xml</filepath> file. This file adds support for a new set
  7. of specialized DTDs, and includes an override for the XHTML output processor.</shortdesc>
  8. <refbody>
  9. <section>
  10. <p>This <filepath>plugin.xml</filepath> file would go into a directory such as
  11. <filepath>DITA-OT/plugins/music/</filepath> and referenced supporting files would also exist in that
  12. directory. A more extensive sample using these values is available in the actual music plug-in, available on
  13. <xref format="html" href="https://sourceforge.net/projects/dita-ot/files/Plug-in_%20Music/" scope="external"
  14. >SourceForge</xref>.</p>
  15. </section>
  16. <example><codeblock>&lt;plugin id="org.metadita.specialization.music">
  17. &lt;feature extension="dita.specialization.catalog.relative" file="catalog-dita.xml"/>
  18. &lt;feature extension="dita.xsl.xhtml" file="xsl/music2xhtml.xsl"/>
  19. &lt;/plugin></codeblock></example>
  20. </refbody>
  21. </reference>