XSLT Explorer: docbook.xsl
7 imports, 42 includes, 776 templates, 232 functions, 101 variables, 212 params, 2 FIXME: comments
- main.xsl
- param.xsl
- VERSION.xsl
- modules/variable.xsl
- modules/space.xsl
- modules/unhandled.xsl
- modules/errors.xsl
- modules/head.xsl
- modules/titles.xsl
- modules/numbers.xsl
- modules/units.xsl
- modules/gentext.xsl
- modules/l10n.xsl
- modules/functions.xsl
- modules/toc.xsl
- modules/divisions.xsl
- modules/components.xsl
- modules/refentry.xsl
- modules/bibliography.xsl
- modules/biblio690.xsl
- modules/glossary.xsl
- modules/index.xsl
- modules/sections.xsl
- modules/templates.xsl
- modules/titlepage.xsl
- modules/info.xsl
- modules/lists.xsl
- modules/blocks.xsl
- modules/admonitions.xsl
- modules/programming.xsl
- modules/msgset.xsl
- modules/objects.xsl
- modules/footnotes.xsl
- modules/verbatim.xsl
- modules/tablecals.xsl
- modules/tablehtml.xsl
- modules/inlines.xsl
- modules/xlink.xsl
- modules/links.xsl
- modules/xref.xsl
- modules/attributes.xsl
- modules/publishers.xsl
- modules/annotations.xsl
- modules/chunk.xsl
- modules/chunk-cleanup.xsl
- modules/chunk-output.xsl
- modules/xform-locale.xsl
- tp:orderedlist-properties
- tp:process-list
- tp:apply-localization-template
- tp:format-number
- tp:group-or-arg
- t:inline
- tp:compute-lines
- tp:filter-callouts
- tp:verbatim-array
- t:generate-index
- t:index-zone-reference
- tp:indexed-section
- t:mediaobject-img
- tp:viewport
- t:table-footnotes
- tp:resolve-persistent-toc-uris
- t:chunk-cleanup
- t:chunk-output
- t:docbook
- tp:cals-colspec
- tp:cell
- tp:list-of-titles
- tp:toc
- tp:tocentry-link
- tp:link
- tp:xref
- t:person-name
- t:person-name-family-given
- t:person-name-first-last
- t:person-name-last-first
- t:person-name-list
- t:glossary-divisions
- t:biblioentry
- tp:out-of-line-xlink
- tp:simple-xlink
- t:xlink
- t:bottom-nav
- t:chunk-footnotes
- t:top-nav
- fp:estimated-term-length()
- fp:select-vert-members()
- f:l10n-token()
- f:l10n-token()
- fp:l10n-token()
- fp:minified-css()
- f:attributes()
- f:attributes()
- f:conditional-orientation-class()
- f:date-format()
- f:generate-id()
- f:generate-id()
- f:gentext-letters()
- f:gentext-letters-for-language()
- f:global-syntax-highlighter()
- f:href()
- f:id()
- f:is-true()
- f:l10n-language()
- f:label-separator()
- f:orderedlist-item-number()
- f:orderedlist-item-numeration()
- f:orderedlist-startingnumber()
- f:orientation-class()
- fp:css-properties()
- fp:lookup-string()
- fp:parse-key-value-pairs()
- fp:parse-key-value-pairs()
- fp:properties()
- fp:replace-element()
- fp:replace-element()
- fp:separator()
- f:refsection()
- f:relative-path()
- f:section()
- f:section-depth()
- f:spaces()
- f:step-number()
- f:step-numeration()
- f:target()
- f:tokenize-on-char()
- f:translate-attribute()
- f:unique-id()
- f:uri-scheme()
- fp:common-attributes()
- fp:common-attributes()
- fp:nearest-relevant-ancestor()
- fp:title-properties()
- fp:title-properties-override()
- f:absolute-length()
- f:empty-length()
- f:equal-lengths()
- f:is-empty-length()
- f:length-string()
- f:length-units()
- f:make-length()
- f:make-length()
- f:make-length()
- f:parse-length()
- f:relative-length()
- fp:in-verbatim()
- fp:array-append()
- fp:array-pad()
- fp:balance-line()
- fp:balance-markup()
- fp:balance-markup()
- fp:contains()
- fp:following()
- fp:inject()
- fp:inject-array()
- fp:inject-into-chars()
- fp:inject-into-line()
- fp:injection-array()
- fp:line-number()
- fp:line-to-chars()
- fp:make-lines()
- fp:make-lines-array()
- fp:open()
- fp:unflatten()
- fp:unflatten()
- fp:unflatten-line()
- fp:unflatten-line()
- fp:up-to()
- fp:validate-injection-array()
- fp:verbatim-properties()
- fp:verbatim-syntax-highlight()
- fp:vpi()
- fp:vpi()
- f:verbatim-callout()
- f:verbatim-numbered()
- f:verbatim-style()
- f:verbatim-syntax-highlighter()
- f:verbatim-trim-leading()
- f:verbatim-trim-trailing()
- fp:fix-text()
- fp:iso690()
- fp:optional-sep()
- f:available-bibliographies()
- f:available-bibliographies()
- f:available-glossaries()
- f:available-glossaries()
- f:biblioentries()
- f:biblioentries()
- f:citations()
- f:citations()
- f:glossentries()
- f:glossentries()
- f:glossrefs()
- f:glossrefs()
- f:pi()
- f:pi()
- f:pi-attributes()
- fp:available-bibliographies()
- fp:available-glossaries()
- fp:baseform()
- fp:pi-attributes()
- fp:pi-from-list()
- fp:pi-pi-attributes()
- fp:group-index()
- fp:group-label()
- fp:nearest-section()
- fp:nearest-section-id()
- fp:primary()
- fp:scope()
- fp:secondary()
- fp:tertiary()
- f:chunk()
- f:chunk-filename()
- fp:chunk-exclude()
- fp:chunk-include()
- fp:chunk-navigation()
- fp:matches-expr()
- fp:root-base-uri()
- fp:trim-common-parts()
- fp:trim-common-prefix()
- f:css-length()
- f:css-property()
- f:mediaobject-amend-uri()
- f:mediaobject-input-base-uri()
- f:mediaobject-type()
- f:mediaobject-viewport()
- f:object-align()
- f:object-contentheight()
- f:object-contentwidth()
- f:object-height()
- f:object-properties()
- f:object-properties()
- f:object-scale()
- f:object-scalefit()
- f:object-valign()
- f:object-width()
- f:in-scope-language()
- f:languages()
- fp:localization()
- fp:localization-list()
- fp:localization-template()
- fp:lookup-localization-list()
- fp:lookup-localization-template()
- fp:footnote-mark()
- fp:footnote-number()
- fp:resolve-persistent-toc()
- fp:resolve-persistent-toc-prefix()
- fp:run-transforms()
- fp:run-transforms()
- f:cals-colsep()
- f:cals-rowsep()
- fp:align-char-pad()
- fcals:align()
- fcals:align-colspec()
- fcals:align-spanspec()
- fcals:cell()
- fcals:cell-decoration()
- fcals:cell-overhang()
- fcals:char()
- fcals:char-colspec()
- fcals:char-spanspec()
- fcals:colsep()
- fcals:colsep-colspec()
- fcals:colsep-spanspec()
- fcals:colspan()
- fcals:colspec()
- fcals:colspec-column-number()
- fcals:colspec-for-column()
- fcals:column-number()
- fcals:decrement-overhang()
- fcals:empty-cell-colsep()
- fcals:empty-cell-rowsep()
- fcals:next-empty-cell()
- fcals:overhang()
- fcals:overhang-into-row()
- fcals:rowsep()
- fcals:rowsep-colspec()
- fcals:rowsep-spanspec()
- fcals:rowspan()
- fcals:spanspec()
- fcals:table-columns()
- fcals:tgroup()
- fcals:valign()
- fcals:zeros()
- fp:colspec-for-colnum()
- fp:only-initial-pis()
- fp:number()
- fp:localization-template-from-xrefstyle()
- fp:collapse-years()
- fp:collapse-years()
- fp:syntax-highlight()
- fp:syntax-highlight()
- f:syntax-highlight()
- f:syntax-highlight()
- f:syntax-highlight()
- fp:construct-templates()
- fp:pick-template()
- f:template()
- fp:find-xlink-nodes()
- fp:pmuj()
- fp:pmuj-enabled()
- fp:xlink-sources()
- fp:xlink-targets()
- fp:xlink-xmlns-scheme()
- fp:xlink-xpath-scheme()
- f:xlink-style()
- f:xpointer-idref()
- f:chunk-title()
- fp:chunk-output-filename()
- fp:footnote-mark()
- fp:footnote-number()
- fp:navigable()
- fp:relative-link()
- fp:relative-uri()
- fp:root-base-uri()
- fp:trim-common-parts()
- fp:trim-common-prefix()
docbook.xsl
1 import
main.xsl
5 imports, 41 includes
param.xsl
2 variables (2 used only in one other module), 211 params (1 unused)
$additional-languages
$align-char-default
as xs:string
$align-char-pad
$align-char-width
$allow-eval
as xs:string
$annotate-toc
$annotation-collection
as xs:string
$annotation-mark
$annotation-placement
$annotation-style
$annotations-js
$auto-toc
as xs:string
$bibliography-collection
as xs:string
$bibliography-style
as xs:string
$callout-default-column
$callout-unicode-start
$chunk
as xs:string?
$chunk-exclude
as xs:string*
$chunk-include
as xs:string*
$chunk-output-base-uri
as xs:string
$chunk-renumber-footnotes
$chunk-section-depth
$classsynopsis-indent
$component-numbers
as xs:string
$component-numbers-inherit
as xs:string
$control-js
as xs:string
$copyright-collapse-years
$copyright-year-range-separator
$copyright-year-separator
$date-date-format
$date-dateTime-format
$dc-metadata
as xs:string
$debug
as xs:string
[static]$default-float-style
$default-language
$default-length-magnitude
$default-length-unit
$personal-name-style
$default-theme
as xs:string
$division-numbers
as xs:string
$division-numbers-inherit
as xs:string
$docbook-transclusion
$dynamic-profile-error
$dynamic-profiles
as xs:string
$experimental-pmuj
$footnote-numeration
$formal-object-title-placement
$mediaobject-details-placement
$formalgroup-nested-object-title-placement
$funcsynopsis-default-style
$funcsynopsis-table-threshold
$funcsynopsis-trailing-punctuation
$generate-html-page
as xs:string
$generate-index
$generate-nested-toc
as xs:string
$generate-toc
as xs:string
$generate-trivial-toc
as xs:string
$generated-id-root
$generated-id-sep
$generator-metadata
as xs:string
$gentext-language
$glossary-collection
as xs:string
$glossary-sort-entries
$glossary-automatic-divisions
$html-extension
$image-ignore-scaling
as xs:boolean
$image-nominal-height
$image-nominal-width
$image-property-warning
$index-on-type
$index-on-role
$index-show-entries
$indexed-section-groups
$lists-of-equations
as xs:string
$lists-of-examples
as xs:string
$lists-of-figures
as xs:string
$lists-of-procedures
as xs:string
$lists-of-tables
as xs:string
$local-conventions
as xs:string?
$mathml-js
$mediaobject-accessibility
as xs:string
$mediaobject-exclude-extensions
as xs:string
$mediaobject-input-base-uri
as xs:string?
$mediaobject-grouped-by-type
as xs:string
$mediaobject-output-base-uri
as xs:string?
$mediaobject-output-paths
as xs:string
$mediaobject-video-element
as xs:string
$nominal-page-width
$number-single-appendix
$olink-databases
as xs:string
$orderedlist-item-numeration
$othername-in-middle
$output-media
$oxy-markup
$pagetoc-elements
$pagetoc-dynamic
$pagetoc-js
$page-style
as xs:string
$paper-size
as xs:string?
$persistent-toc
$persistent-toc-css
$persistent-toc-filename
as xs:string?
$persistent-toc-js
$persistent-toc-search
$pixels-per-inch
$procedure-step-numeration
$productionset-lhs-rhs-separator
$profile-arch
$profile-audience
$profile-condition
$profile-conformance
$profile-lang
$profile-os
$profile-outputformat
$profile-revision
$profile-revisionflag
$profile-role
$profile-security
$profile-separator
$profile-userlevel
$profile-vendor
$profile-wordsize
$theme-picker
as xs:string
$transclusion-id-fixup
as xs:string
$transclusion-link-scope
as xs:string
$transclusion-prefix-separator
as xs:string
$transclusion-suffix
as xs:string
$qandadiv-default-toc
$qandaset-default-label
$qandaset-default-toc
$relax-ng-grammar
as xs:string?
$refentry-generate-name
$refentry-generate-title
$resource-base-uri
$revhistory-style
$section-numbers
as xs:string
$section-numbers-inherit
$section-toc-depth
$segmentedlist-style
$show-remarks
$sort-collation
$table-accessibility
as xs:string
$table-footnote-numeration
$use-docbook-css
as xs:string
$use-minified-css
as xs:string
$user-css-links
$variablelist-termlength-threshold
$verbatim-callouts
as xs:string
$verbatim-line-style
$verbatim-number-every-nth
$verbatim-number-first-line
$verbatim-number-minlines
$verbatim-number-separator
$verbatim-numbered-elements
$verbatim-plain-style
as xs:string
$verbatim-space
$verbatim-style-default
$verbatim-syntax-highlight-css
$verbatim-syntax-highlight-languages
$verbatim-syntax-highlighter
as xs:string
$verbatim-table-style
$verbatim-trim-leading-blank-lines
$verbatim-trim-trailing-blank-lines
$xlink-arclist-before
$xlink-arclist-after
$xlink-arclist-titlesep
$xlink-arclist-sep
$xlink-icon-closed
$xlink-icon-open
$xlink-js
$xlink-style
$xlink-style-default
$xspec
as xs:string
$transform-original
$transform-before
$transform-after
$dynamic-profile-variables
as map(xs:QName, item()*)?
$warn-about-missing-localizations
as xs:string
$sets-number-from
as xs:string
$books-number-from
as xs:string
$divisions-number-from
as xs:string
$components-number-from
as xs:string
$sections-number-from
as xs:string
$formal-objects-number-from
as xs:string
$sets-inherit-from
as xs:string
$books-inherit-from
as xs:string
$divisions-inherit-from
as xs:string
$components-inherit-from
as xs:string
$sections-inherit-from
as xs:string
$formal-objects-inherit-from
as xs:string
$unwrap-paragraphs
as xs:string
$fallback-js
$message-level
as xs:integer
$copy-verbatim-js
$translate-suppress-elements
$varlistentry-separate-terms
$presentation-mode
$presentation-js
$presentation-css
$inline-xlink-href
as xs:string
$transformed-docbook-input
as xs:string?
$transformed-docbook-output
as xs:string?
$titleabbrev-passthrough
as xs:string
$variablelist-panelset
as xs:string
$vendor-css
as xs:string*
$verbatim-embellishments
$verbatim-embellish-linenumbers
$verbatim-default-language
$vp:static-parameters
as map(xs:QName, item()*)
$vp:dynamic-parameters
as map(xs:QName, item()*)
1 + |
Acknowledgements
Acknowledgements
I’d like to thank The Academy, the…no, wrong event.
diff --git a/guide/2.5.0/ch-building.html b/guide/2.5.0/ch-building.html index db02c44b0..d7ddc5b4e 100644 --- a/guide/2.5.0/ch-building.html +++ b/guide/2.5.0/ch-building.html @@ -1,4 +1,4 @@ -Chapter 6. Building the stylesheets
If you wish, you can also clone the distribution and build them +
Chapter 6. Building the stylesheets
If you wish, you can also clone the distribution and build them yourself. The distribution is designed to be self contained. In a Unix or Mac environment, running:
./gradlew dist
diff --git a/guide/2.5.0/ch-customizing.html b/guide/2.5.0/ch-customizing.html index 5dc555a25..63f443ff4 100644 --- a/guide/2.5.0/ch-customizing.html +++ b/guide/2.5.0/ch-customizing.html @@ -1,4 +1,4 @@ -
Chapter 3. Customizing the stylesheets
In many circumstances, the stylesheets can be used “out of the +
Chapter 3. Customizing the stylesheets
In many circumstances, the stylesheets can be used “out of the box” without any customization. But sometimes you may need to change the formatting of certain elements. One common reason is to change the formatting of title pages or navigational features. In other cases, it diff --git a/guide/2.5.0/ch-implementation.html b/guide/2.5.0/ch-implementation.html index 77d3270a9..1d5b86692 100644 --- a/guide/2.5.0/ch-implementation.html +++ b/guide/2.5.0/ch-implementation.html @@ -1,4 +1,4 @@ -
Chapter 5. Implementation details
This section sketches out some features of the implementation. +
Chapter 5. Implementation details
This section sketches out some features of the implementation. It would probably be better to build an annotated Definitive Guide or something, but this will have to do for now. diff --git a/guide/2.5.0/ch-localization.html b/guide/2.5.0/ch-localization.html index af232d7bf..17a8d4267 100644 --- a/guide/2.5.0/ch-localization.html +++ b/guide/2.5.0/ch-localization.html @@ -1,4 +1,4 @@ -
Chapter 4. Localization
The DocBook xslTNG stylesheets support +
Chapter 4. Localization
The DocBook xslTNG stylesheets support localization in more than 70 languages. At the time of this writing: Afrikaans, Albanian, Amharic, Arabic, Assamese, Asturian, Azerbaijani, Bangla, Basque, Bosnian, Bulgarian, Catalan, Chinese, Chinese diff --git a/guide/2.5.0/ch-overview.html b/guide/2.5.0/ch-overview.html index 50d0c7fe7..cbb74a288 100644 --- a/guide/2.5.0/ch-overview.html +++ b/guide/2.5.0/ch-overview.html @@ -1,4 +1,4 @@ -
Chapter 1. Overview
Before we get started, let’s look at what the stylesheets do and +
Chapter 1. Overview
Before we get started, let’s look at what the stylesheets do and where you can get them!
1.1. What do the stylesheets do?
The DocBook xslTNG stylesheets transform DocBook V5.x into HTML. The intent is that they support all of DocBook V5.2, including the DocBook Publishers elements. (The diff --git a/guide/2.5.0/ch-preface.html b/guide/2.5.0/ch-preface.html index fdecbd205..7be04eaf4 100644 --- a/guide/2.5.0/ch-preface.html +++ b/guide/2.5.0/ch-preface.html @@ -1,4 +1,4 @@ -
Preface
These stylesheets are the third +
Preface
These stylesheets are the third iteration of stylesheets for DocBook that I’ve written. I started working on the XSLT 1.0 Stylesheets for DocBook in the 90’s, before XSLT 1.0 was diff --git a/guide/2.5.0/ch-using.html b/guide/2.5.0/ch-using.html index 67c2a08fb..26605534d 100644 --- a/guide/2.5.0/ch-using.html +++ b/guide/2.5.0/ch-using.html @@ -1,4 +1,4 @@ -
Chapter 2. Using the stylesheets
In principle, the stylesheets will run with any conformant XSLT +
Chapter 2. Using the stylesheets
In principle, the stylesheets will run with any conformant XSLT 3.0 processor. For many users, that means Saxon. Although earlier versions may work, Saxon 10.1 or later is recommended.
In principle, the instructions for using the stylesheets are @@ -254,7 +254,11 @@ Section 2.7.1, “Keyboard navigation” enables keyboard navigation between chunks.
t:top-nav
and
t:bottom-nav
These templates control how the top-of-page and bottom-of-page -navigation aids are constructed.
$use-id-as-filename
If this parameter is true, the xml:id
+on a chunk will be used to construct the filename for that chunk. You can also control
+the chunk filename on a per-chunk basis with the
+db
processing instruction
+ using the filename
pseudo-attribute.