VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/docsrc/dev_ref/processing-pipeline-modules.dita@ 99507

最後變更 在這個檔案從99507是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.2 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
3 "concept.dtd">
4<concept id="processing-pipeline-modules" xml:lang="en-us">
5<title>DITA-OT processing modules</title>
6<shortdesc>The DITA-OT processing pipeline is implemented using Ant. Individual modules within the
7Ant script are implemented in either Java or XSLT, depending on such factors as performance or
8requirements for customization. Virtually all Ant and XSLT modules can be extended by adding a
9plug-in to the toolkit; new Ant targets may be inserted before or after common processing, and new
10rules may be imported into common XSLT modules to override default processing.</shortdesc>
11<conbody>
12<section>
13<title>XSLT modules</title><p>The XSLT modules use shell files. Typically, each shell file begins by importing common rules
14that apply to all topics. This set of common processing rules may in turn import additional common
15modules, such as those used for reporting errors or determining the document locale. After the
16common rules are imported, additional imports can be included in order to support processing for
17DITA specializations.</p><p>For example, XHTML processing is controlled by the <filepath>xsl\dita2xhtml.xsl</filepath> file.
18The shell begins by importing common rules that are applicable to all general topics:
19<filepath>xslhtml\dita2htmlImpl.xsl</filepath>. After that, additional XSLT overrides are imported
20for specializations that require modified processing. For example, an override for reference topics
21is imported in order to add default headers to property tables. Additional modules are imported for
22tasks, for the highlighting domain, and for several other standard specializations. After the
23standard XSLT overrides occur, plug-ins may add in additional processing rules for local styles or
24for additional specializations.</p></section>
25<section>
26<title>Java modules</title>
27<p>Java modules are typically used when XSLT is a poor fit, such as for processes that make use of
28standard Java libraries (like those used for index sorting). Java modules are also used in many
29cases where a step involves copying files, such as the initial process where source files are parsed
30and copied to a temporary processing directory.</p>
31</section>
32</conbody>
33</concept>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette