8.122. Libxslt-1.1.43

The libxslt package contains XSLT libraries used for extending libxml2 libraries to support XSLT files.

Approximate build time: 0.2 SBU
Required disk space: 33 MB

8.122.1. Installation of libxslt

Configure libxslt by running the following commands:

sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml}
./configure --prefix=/usr --disable-static

Build libxslt by running the following command:

make

A shipped man page is glitched. If the recommended dependencies are installed, regenerate it by running the following commands:

sed -e 's@http://cdn.docbook.org/release/xsl@https://cdn.docbook.org/release/xsl-nons@' \
    -e 's@\$Date\$@31 October 2019@' -i doc/xsltproc.xml
xsltproc/xsltproc --nonet doc/xsltproc.xml -o doc/xsltproc.1

To test the results, issue:

make check

Install libxslt by running the following command:

make install

8.122.2. Command Explanations

sed -i s/3000/5000/ ...: this increases the recursion limit in libxslt. This is needed by some packages for their documentation.

8.122.3. Contents

Installed Programs: xslt-config and xsltproc
Installed Libraries: libexslt.so, libxslt.so and optionally, libxsltmod.so Python module
Installed Directories: /usr/include/libexslt, /usr/include/libxslt, /usr/lib/libxslt-plugins, /usr/share/doc/libxslt-1.1.43, and /usr/share/doc/libxslt-python-1.1.43

Short Descriptions

xslt-config

is used to find out the pre-processor, linking and compiling flags necessary to use the libxslt libraries in 3rd-party programs.

xsltproc

is used to apply XSLT stylesheets to XML documents.

libexslt.so

is used to provide extensions to XSLT functions.

libxslt.so

provides extensions to the libxml2 libraries to parse files that use the XSLT format.