The xtpxlib
library is an open source library containing software for processing XML, using
languages like XSLT and XProc. It consists of several separate components. I've tried to document
everything on the accompanying GitHub pages.
Some highlights (the parts I use most often):
The xtpxlib-common
component contains several XSLT modules. For instance:
general.mod.xsl
contains a lot
of small utility functions and templates. For instance capitalize a string, safe conversions from strings to other data types,
etc.
href.mod.xsl
is a library I use
very often. It contains all kinds of href (filename or web address) juggling functions. For instance get the name/extension/path portion
of an href, get/replace/delete its protocol, canonicalize an href (replace the .
and ..
parts, compute
relative href-s, etc.
parameters.mod.xsl
contains
code for the general handling of parameters and the substitution of parameter values in texts. There is a separate parameters documentation section
about this.
The https://container.xtpxlib.org/
component contains code for handling XML
containers: Constructs that provide support for working with multiple related files by wrapping them into a single one. Binary
files are referenced instead of included. Also a very useful technique if you need to create a lot of files (like when you're generating a
website).
The https://xoffice.xtpxlib.org/
component contains an XProc pipeline
for turning Excel sheets into
much more legible and processable XML. This allows Excel to be used as a user interface to data-driven XML applications.
The xtpxlib-xdoc
component contains a toolchain
for DocBook driven documentation.
Among its functionality are pipelines
with mechanisms
for generating DocBook from other markup. It also contains custom PDF and HTML generating.