74 lines
4.3 KiB
XML
74 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
This file is part of the DITA Open Toolkit project.
|
|
|
|
Copyright 2011 Jarno Elovirta
|
|
|
|
See the accompanying LICENSE file for applicable license.
|
|
-->
|
|
<plugin id="org.dita.xhtml" version="3.6.0">
|
|
<!-- extension points -->
|
|
<extension-point id="dita.xsl.xhtml" name="HTML/XHTML XSLT import"/>
|
|
<extension-point id="dita.conductor.html.param" name="HTML XSLT parameters"/>
|
|
<extension-point id="dita.conductor.xhtml.param" name="XHTML XSLT parameters"/>
|
|
<extension-point id="dita.conductor.xhtml.toc.param" name="HTML/XSLT XSLT parameter"/>
|
|
<extension-point id="dita.xsl.htmltoc" name="HTML/XHTML TOC XSLT import"/>
|
|
<extension-point id="dita.xsl.html.cover" name="HTML/XHTML Cover XSLT import"/>
|
|
<!-- extensions -->
|
|
<transtype name="base-html" abstract="true" desc="HTML-based output">
|
|
<param name="args.artlbl" desc="Specifies whether to generate a label for each image; the label will contain the image file name." type="enum">
|
|
<val>yes</val>
|
|
<val default="true">no</val>
|
|
</param>
|
|
<param name="args.copycss" desc="Specifies whether to copy the custom .css file to the output directory." type="enum">
|
|
<val>yes</val>
|
|
<val default="true">no</val>
|
|
</param>
|
|
<param name="args.css" desc="Specifies the name of a custom .css file." type="string"/>
|
|
<param name="args.csspath" desc="Specifies the location of a copied .css file relative to the output directory." type="string"/>
|
|
<param name="args.cssroot" desc="Specifies the directory that contains the custom .css file." type="string"/>
|
|
<param name="args.dita.locale" desc="Specifies the language locale file to use for sorting index entries." type="string"/>
|
|
<param name="args.ftr" desc="Specifies an XML file that contains content for a running footer." type="file"/>
|
|
<param name="args.gen.default.meta"
|
|
desc="Generate metadata for parental control scanners, meta elements with name="security" and name="Robots"." type="enum">
|
|
<val>yes</val>
|
|
<val default="true">no</val>
|
|
</param>
|
|
<param name="args.hdf" desc="Specifies an XML file that contains content to be placed in the document head." type="file"/>
|
|
<param name="args.hdr" desc="Specifies an XML file that contains content for a running header." type="file"/>
|
|
<param name="args.hide.parent.link" desc="Specifies whether to hide links to parent topics in the HTML or XHTML output." type="enum">
|
|
<val>yes</val>
|
|
<val default="true">no</val>
|
|
</param>
|
|
<param name="args.indexshow" desc="Specifies whether the content of <indexterm> elements are rendered in the output." type="enum">
|
|
<val>yes</val>
|
|
<val default="true">no</val>
|
|
</param>
|
|
<param name="args.outext" desc="Specifies the file extension for HTML or XHTML output." type="string">
|
|
<val default="true">html</val>
|
|
</param>
|
|
<param name="args.xhtml.classattr" desc="Specifies whether to include the DITA class ancestry inside the XHTML elements." type="enum">
|
|
<val default="true">yes</val>
|
|
<val>no</val>
|
|
</param>
|
|
<param name="args.xsl" desc="Specifies a custom XSL file to be used instead of the default XSL transformation." type="file"/>
|
|
</transtype>
|
|
<transtype name="xhtml" extends="base-html" desc="XHTML">
|
|
<param name="args.xhtml.contenttarget" desc="Specifies the value of the @target attribute on the <base> element in the TOC file." type="string">
|
|
<val default="true">contentwin</val>
|
|
</param>
|
|
<param name="args.xhtml.toc" desc="Specifies the base name of the TOC file." type="string">
|
|
<val default="true">index</val>
|
|
</param>
|
|
<param name="args.xhtml.toc.class" desc="Specifies the value of the @class attribute on the <body> element in the TOC file." type="string"/>
|
|
<param name="args.xhtml.toc.xsl" desc="Specifies a custom XSL file to be used for TOC generation." type="file"/>
|
|
</transtype>
|
|
<feature extension="ant.import" file="build_general.xml"/>
|
|
<feature extension="ant.import" file="build_dita2xhtml.xml"/>
|
|
<feature extension="dita.xsl.messages" file="resource/messages.xml"/>
|
|
<template file="build_general_template.xml"/>
|
|
<template file="build_dita2xhtml_template.xml"/>
|
|
<template file="xsl/dita2html-base_template.xsl"/>
|
|
<template file="xsl/map2htmltoc_template.xsl"/>
|
|
<template file="xsl/map2html-coverImpl_template.xsl"/>
|
|
</plugin>
|