plugin-applications.html 9.9 KB

1234567891011
  1. <!DOCTYPE html
  2. SYSTEM "about:legacy-compat">
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2019"><meta name="DC.rights.owner" content="(C) Copyright 2019"><meta name="DC.type" content="concept"><meta name="description" content="Plug-ins allow you to extend the functionality of DITA-OT. This might entail adding support for specialized document types, integrating processing overrides, or defining new output transformations."><meta name="DC.subject" content="plug-ins, ideas for"><meta name="keywords" content="plug-ins, ideas for"><meta name="DC.relation" scheme="URI" content="../topics/custom-plugins.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-xmlcatalog.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-anttarget.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-antpreprocess.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-newtranstype.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-overridestyle.html"><meta name="DC.relation" scheme="URI" content="../topics/using-plugin-URI-extension.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-xsltparams.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-javalib.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-messages.html"><meta name="DC.relation" scheme="URI" content="../topics/plugin-newextensions.html"><meta name="DC.relation" scheme="URI" content="../topics/implement-saxon-customizations.html"><meta name="DC.format" content="HTML5"><meta name="DC.identifier" content="plugins-overview"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>Plug-in applications</title></head><body id="plugins-overview"><header role="banner"><div class="header">
  4. <p>DITA Open Toolkit</p>
  5. <hr>
  6. </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.3</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/alternative-input-formats.html">Authoring formats</a></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../parameters/index.html">Setting parameters</a></li><li><a href="../topics/customizing.html">Customizing DITA-OT</a><ul><li><a href="../topics/html-customization.html">Customizing HTML</a></li><li><a href="../topics/pdf-customization.html">Customizing PDF</a></li><li><a href="../topics/custom-plugins.html">Working with plug-ins</a><ul><li><a href="../topics/plugins-installing.html">Installing plug-ins</a></li><li><a href="../topics/plugins-removing.html">Removing plug-ins</a></li><li><a href="../topics/plugins-registry.html">Plug-in registry</a></li><li><a href="../topics/plugin-configfile.html">Plug-in descriptor file</a></li><li><a href="../topics/plugin-dependencies.html">Plug-in dependencies</a></li><li class="active"><a href="../topics/plugin-applications.html">Plug-in applications</a><ul><li><a href="../topics/plugin-xmlcatalog.html">Extending an XML catalog file</a></li><li><a href="../topics/plugin-anttarget.html">Adding a new target to the Ant build process</a></li><li><a href="../topics/plugin-antpreprocess.html">Adding an Ant target to the pre-processing pipeline</a></li><li><a href="../topics/plugin-newtranstype.html">Adding a new transformation type</a></li><li><a href="../topics/plugin-overridestyle.html">Overriding an XSLT-processing step</a></li><li><a href="../topics/using-plugin-URI-extension.html">Referencing files from other plug-ins</a></li><li><a href="../topics/plugin-xsltparams.html">Adding parameters to existing XSLT steps</a></li><li><a href="../topics/plugin-javalib.html">Adding a Java library to the classpath</a></li><li><a href="../topics/plugin-messages.html">Adding new diagnostic messages</a></li><li><a href="../topics/plugin-newextensions.html">Creating a new plug-in extension point</a></li><li><a href="../topics/implement-saxon-customizations.html">Adding Saxon customizations</a></li></ul></li><li><a href="../topics/plugin-sample.html">Example plugin.xml file</a></li><li><a href="../topics/plugin-best-practices.html">Best practices</a></li><li><a href="../topics/plugin-coding-conventions.html">Coding conventions</a></li></ul></li><li><a href="../extension-points/plugin-extension-points.html">Extension points</a></li><li><a href="../topics/migration.html">Migrating customizations</a></li><li><a href="../topics/globalization.html">Globalizing DITA content</a></li><li><a href="../topics/rebuilding-docs.html">Rebuilding documentation</a></li></ul></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">Plug-in applications</h1>
  8. <p class="shortdesc">Plug-ins allow you to extend the functionality of DITA-OT. This might entail adding support for specialized
  9. document types, integrating processing overrides, or defining new output transformations.</p>
  10. <nav role="navigation" class="related-links"><ul class="ullinks"><li class="link ulchildlink"><strong><a href="../topics/plugin-xmlcatalog.html">Extending an XML catalog file</a></strong><br>You can update either the main DITA-OT XML catalog or the XML catalog that is used by the PDF plug-in. This enables DITA-OT to support new specializations and document-type shells.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-anttarget.html">Adding a new target to the Ant build process</a></strong><br>As of DITA-OT 3.0, the <code class="ph codeph">ant.import</code> extension point can be used to make new targets available to the Ant processing pipeline. This can be done as part of creating a new transformation, extending pre-processing, or simply to make new Ant targets available to other plug-ins.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-antpreprocess.html">Adding an Ant target to the pre-processing pipeline</a></strong><br>You can add an Ant target to the pre-processing pipeline. This enables you to insert additional processing before or after the pre-processing chain or a specific step in the pre-processing operation.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-newtranstype.html">Adding a new transformation type</a></strong><br>Plug-ins can add an entirely new transformation type. The new transformation type can be very simple, such as an HTML build that creates an additional control file; it also can be very complex, adding any number of new processing steps.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-overridestyle.html">Overriding an XSLT-processing step</a></strong><br>You can override specific XSLT-processing steps in both the pre-processing pipeline and certain DITA-OT transformations.</li><li class="link ulchildlink"><strong><a href="../topics/using-plugin-URI-extension.html">Referencing files from other plug-ins</a></strong><br>Starting with DITA-OT 1.5.4, you can use the <span class="ph filepath">plugin:<var class="keyword varname">plugin-id</var></span> URI extension and the <span class="ph filepath">${dita.plugin.<var class="keyword varname">plugin-id</var>.dir}</span> Ant variable to reference the base path of another installed DITA-OT plug-in.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-xsltparams.html">Adding parameters to existing XSLT steps</a></strong><br>You can pass parameters from the Ant build to existing XSLT steps in both the pre-processing pipeline and certain DITA-OT transformations. This can be useful if you want to make the parameters available as global <code class="keyword markupname xmlelement">&lt;xsl:param&gt;</code> values within XSLT overrides.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-javalib.html">Adding a Java library to the DITA-OT classpath</a></strong><br>You can use the <code class="ph codeph">dita.conductor.lib.import</code> extension point to add an additional Java library to the DITA-OT <span class="keyword parmname">classpath</span> parameter.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-messages.html">Adding new diagnostic messages</a></strong><br>Use the <code class="ph codeph">dita.xsl.messages</code> extension point to add plug-in-specific messages to the diagnostic messages that are generated by DITA-OT. These messages then can be used by any XSLT override.</li><li class="link ulchildlink"><strong><a href="../topics/plugin-newextensions.html">Creating a new plug-in extension point</a></strong><br>If your plug-in needs to define its own extension point in an XML file, add the string "<code class="ph codeph">_template</code>" to the filename before the file suffix. When the plug-in is installed, this file will be processed like the built-in DITA-OT templates.</li><li class="link ulchildlink"><strong><a href="../topics/implement-saxon-customizations.html">Adding Saxon customizations</a></strong><br>Plug-ins can contribute XSLT extension functions and collation URI resolvers. These customizations are automatically configured to work with Saxon when transformations are run using the DITA-OT <code class="keyword markupname xmlelement">&lt;pipeline&gt;</code> task with custom XSLT.</li></ul><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/custom-plugins.html" title="You can install or create DITA-OT plug-ins to change the default output types in various ways, add entirely new kinds of output formats, or implement DITA topic specializations.">Working with plug-ins</a></div></div></nav></article></main></body></html>