libexslt - extension library for XSLT
#include <libexslt/exslt.h>
void exsltCommonRegister(void);
void exsltDateRegister(void);
void exsltDynRegister(void);
void exsltFuncRegister(void);
void exsltMathRegister(void);
void exsltSetsRegister(void);
void exsltStrRegister(void);
void exsltRegisterAll(void);
void exsltSaxonRegister(void);
The libexslt library is used to provide extensions to
XSLT functions. These extensions come from the
EXSLT project <http://www.exslt.org/>
To make use of these functions in XSLT the
appropriate namespace must be defined on the xsl:stylesheet element.
To enable support for them in libxslt(3) you must call the
appropriate functions (listed in the SYNOPSIS section) to register
the extensions. The xslt-config shell script can be used to obtain
the necessary flags for the pre-processor and linker. The supported
extensions are:
- Namespace:
http://exslt.org/math
- See
http://www.exslt.org/math/index.html for a description.
- min()
- returns the minimum value of the given node-set
- max()
- returns the maximum value of the given node-set
- highest()
- returns the nodes in the node-set whose value is the maximum value for the
node-set.
- lowest()
- returns the nodes in the node-set whose value is the minimum value for the
node-set.
- constant()
- returns a number value of the given constant with the given precision. The
constants are PI, E, SQRRT2, LN2, LN10, LOG2E, and SQRT1_2.
- random()
- returns a random number between 0 and 1 inclusive.
- abs()
- returns the absolute value of the argument.
- sqrt()
- returns the square root of the argument.
- power()
- returns the power base and power arguments.
- log()
- returns the natural log of the argument.
- sin()
- returns the sine of the argument.
- cos()
- returns the cosine of the argument.
- tan()
- returns the tangent of the argument.
- asin()
- returns the arc sine of the argument.
- acos()
- returns the arc cosine of the argument.
- atan()
- returns the arc tangent of the argument.
- atan2()
- returns the arc tangent function of the y/x arguments.
- exp()
- returns the exponential function of the argument.
- /usr/bin/xslt-config
- shell script giving pre-processor and linker flags.
- /usr/lib/libexslt.a
- static library
- /usr/lib/libexslt.so
- sharable library
Manual page by Heiko W. Rupp (hwr@pilhuhn.de)
libxml(3), libxslt(3), xmllint(1)
xsltproc(1),