
libexslt(4) Kernel Interfaces Manual libexslt(4) NAME
libexslt  extension library for XSLT DESCRIPTION
The libexslt library is used to provide extensions to XSLT functions. These extensions come from the EXSLT project (http://www.exslt.org/) CALLING
To make use of these functions XSLT, these need to be declared with the proper name space SUPPORTED FUNCTIONS
COMMON Namespace: http://exslt.org/common nodeset() convert the given RTF into a nodeset objecttype() returns the type of the given argument document() Create multiple output documents. See http://www.exslt.org/exsl/elements/document/index.html MATH Namespace: http://exslt/math For a description see http://www.exslt.org/math/index.html min() returns the minimum value of the given nodeset max() returns the maximum value of the given nodeset highest() returns the nodes in the nodeset whose value is the maximum value for the nodeset. lowest() returns the nodes in the nodeset whose value is the minimum value for the nodeset. 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. SETS Namespace http://exslt.org/sets For a description see http://www.exslt.org/set/index.html difference() returns the difference between the two given nodesets. intersection() returns a nodeset of the nodes within both given nodesets. distinct() returns a nodeset of all nodes in the first argument that are not in the seconds argument. hassamenode() returns TRUE if there is an intersection between the two given nodesets. leading() returns a nodeset of all nodes in the first argument that precede the first node in the second argument. trailing() returns a nodeset of all nodes in the first argument that follow the first node in the second argument. DATES and TIMES Namespace http://exslt.org/dateandtimes For a description see http://www.exslt.org/date/date.html datetime() returns the current date and time as a date/time string. date() returns the date specified in the given date/time string. time() returns the time specified in the date/time string given as the argument. year() returns the year of a date as a number. leapyear() returns true if the year given in a date is a leap year. monthinyear() returns the month of a date as a number. monthname() returns the full name of the month of a date. monthabbreviation() returns the abbreviation of the month of a date. weekinyear() returns the week of the year as a number. weekinmonth() returns the week in a month of a date as a number. dayinyear() returns the month of a date as a number. dayinmonth() returns the day of a date as a number. dayinweekinmonth() returns the dayoftheweek in a month of a date as a number. dayinweek() returns the day of the week given in a date as a number. dayname() returns the full name of the day of the week of a date. dayabbreviation() returns the abbreviation of the day of the week of a date. hourinday() returns the hour of the day as a number. minuteinhour() returns the minute of the hour as a number. secondinminute() returns the second of the minute as a number. seconds() returns the number of seconds specified by the argument string. add() returns the date/time resulting from adding a duration to a date/time. addduration() returns the duration resulting from adding two given durations together. difference() returns the duration between the first date and the second date. duration() returns a duration string that represents the given number of seconds since 19700101T00:00:00. STRINGS Namespace http://exslt.org/strings For a description see http://www.exslt.org/str/index.html tokenize() returns a node set of token elements, each containing one token from the string. padding() returns a string padded to a certain length. align() returns a string aligned within another string. concat() returns the concatenation of the string values of the nodes in that node set. FUNCTIONS Namespace http://exslt.org/functions For a description see http://www.exslt.org/func/index.html function() declares an extension function. result() returns the result of an extension function declared in function(). FILES /usr/lib/libexslt.a static library /usr/lib/libexslt.so sharable library AUTHORS
Manual page by Heiko W. Rupp (hwr@pilhuhn.de) SEE ALSO
libxslt(3), libxml(3), xsltproc(1), xmllint(1) 15 May 2002 libexslt(4)