-
Notifications
You must be signed in to change notification settings - Fork 4
Home
This project is an Open Toolkit plugin that provides general-purpose XSLT modules to support DITA processing and, in with the relpath_utils.xsl, general XSLT processing involving URLs and file-system paths.
The libraries provided are:
-
relpath_util.xsl - Provides XSLT functions for working with URLs and operating-system-specific paths. Makes it easy to get parts of URLs and filenames, construct new absolute and relative paths, and generally work with URLs in way that XSLT 2 does not itself enable directly. The test module test/relpath_util_test.xsl demonstrates how to use the functions. Note that the getRelativePath() function has the limitation that the target path must be a directory—see the function documentation and test cases for details.
-
dita-support-lib.xsl - Provides functions for working with DITA documents, including the df:class() method, which makes it easier to match on DITA @class values, functions for getting navigation titles, resolving topicrefs, and so on.
-
dita-tidy.xsl - Provides functions and templates for doing DITA-to-DITA transforms that tidy up the markup, for example, wrapping text within mixed content. See the module and the corresponding test cases for details.