-.TH libexslt 3 "30 August 2001"
+.TH libexslt 4 "15 May 2002"
.SH NAME
libexslt \- extension library for XSLT
.SH DESCRIPTION
The
.I libexslt
-library is used to do provide extenstions to XSLT functions.
-These extenstions come from the EXSLT project (http://exslt.org/)
+library is used to provide extensions to XSLT functions.
+These extensions come from the EXSLT project (http://www.exslt.org/)
.LP
.SH CALLING
To make use of these functions XSLT, these need to be declared with the
returns the type of the given argument
.TP
.B document()
-Create multiple output documents. See http://exslt.org/exsl/elements/document/index.html
+Create multiple output documents. See http://www.exslt.org/exsl/elements/document/index.html
.TP 2.2o
.B MATH
.TP 2.2i
Namespace: http://exslt/math
.TP 2.2i
-For a description see http://exslt.org/math/index.html
+For a description see http://www.exslt.org/math/index.html
.TP 2.2i
.B min()
+returns the minimum value of the given node-set
.TP
.B max()
+returns the maximum value of the given node-set
.TP
.B highest()
+returns the nodes in the node-set whose value is the maximum value for the node-set.
.TP
.B lowest()
+returns the nodes in the node-set whose value is the minimum value for the node-set.
+.TP
+.B 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.
+.TP
+.B random()
+returns a random number between 0 and 1 inclusive.
+.TP
+.B abs()
+returns the absolute value of the argument.
+.TP
+.B sqrt()
+returns the square root of the argument.
+.TP
+.B power()
+returns the power base and power arguments.
+.TP
+.B log()
+returns the natural log of the argument.
+.TP
+.B sin()
+returns the sine of the argument.
+.TP
+.B cos()
+returns the cosine of the argument.
+.TP
+.B tan()
+returns the tangent of the argument.
+.TP
+.B asin()
+returns the arc sine of the argument.
+.TP
+.B acos()
+returns the arc cosine of the argument.
+.TP
+.B atan()
+returns the arc tangent of the argument.
+.TP
+.B atan2()
+returns the arc tangent function of the y/x arguments.
+.TP
+.B exp()
+returns the exponential function of the argument.
.TP 2.2o
.B SETS
.TP 2.2i
Namespace http://exslt.org/sets
.TP 2.2i
-For a description see http://exslt.org/set/index.html
+For a description see http://www.exslt.org/set/index.html
.TP 2.2i
.B difference()
+returns the difference between the two given node-sets.
.TP
.B intersection()
+returns a node-set of the nodes within both given node-sets.
.TP
.B distinct()
+returns a node-set of all nodes in the first argument that are not in the seconds argument.
.TP
.B has-same-node()
+returns TRUE if there is an intersection between the two given node-sets.
.TP
.B leading()
+returns a node-set of all nodes in the first argument that precede the first node in the second argument.
.TP
.B trailing()
+returns a node-set of all nodes in the first argument that follow the first node in the second argument.
+.TP
+.TP 2.2o
+
+.B DATES and TIMES
+.TP 2.2i
+Namespace http://exslt.org/date-and-times
+.TP 2.2i
+For a description see http://www.exslt.org/date/date.html
+.TP 2.2i
+.B date-time()
+returns the current date and time as a date/time string.
+.TP
+.B date()
+returns the date specified in the given date/time string.
+.TP
+.B time()
+returns the time specified in the date/time string given as the argument.
+.TP
+.B year()
+returns the year of a date as a number.
+.TP
+.B leap-year()
+returns true if the year given in a date is a leap year.
+.TP
+.B month-in-year()
+returns the month of a date as a number.
+.TP
+.B month-name()
+returns the full name of the month of a date.
+.TP
+.B month-abbreviation()
+returns the abbreviation of the month of a date.
+.TP
+.B week-in-year()
+returns the week of the year as a number.
+.TP
+.B week-in-month()
+returns the week in a month of a date as a number.
+.TP
+.B day-in-year()
+returns the month of a date as a number.
+.TP
+.B day-in-month()
+returns the day of a date as a number.
+.TP
+.B day-in-week-in-month()
+returns the day-of-the-week in a month of a date as a number.
+.TP
+.B day-in-week()
+returns the day of the week given in a date as a number.
+.TP
+.B day-name()
+returns the full name of the day of the week of a date.
+.TP
+.B day-abbreviation()
+returns the abbreviation of the day of the week of a date.
+.TP
+.B hour-in-day()
+returns the hour of the day as a number.
+.TP
+.B minute-in-hour()
+returns the minute of the hour as a number.
+.TP
+.B second-in-minute()
+returns the second of the minute as a number.
+.TP
+.B seconds()
+returns the number of seconds specified by the argument string.
+.TP
+.B add()
+returns the date/time resulting from adding a duration to a date/time.
+.TP
+.B add-duration()
+returns the duration resulting from adding two given durations together.
+.TP
+.B difference()
+returns the duration between the first date and the second date.
+.TP
+.B duration()
+returns a duration string that represents the given number of seconds since 1970-01-01T00:00:00.
+.TP 2.2o
+
+.B STRINGS
+.TP 2.2i
+Namespace http://exslt.org/strings
+.TP 2.2i
+For a description see http://www.exslt.org/str/index.html
+.TP 2.2i
+.B tokenize()
+returns a node set of token elements, each containing one token from the string.
+.TP
+.B padding()
+returns a string padded to a certain length.
+.TP
+.B align()
+returns a string aligned within another string.
+.TP
+.B concat()
+returns the concatenation of the string values of the nodes in that node set.
.TP 2.2o
.B FUNCTIONS
.TP 2.2i
Namespace http://exslt.org/functions
.TP 2.2i
-For a description see http://exslt.org/func/index.html
+For a description see http://www.exslt.org/func/index.html
.TP 2.2i
.B function()
+declares an extension function.
.TP
.B result()
+returns the result of an extension function declared in function().
.TP 2.2o
+
.SH FILES
.TP 2.2i
-.B /usr/lib/libxslt_0.0.0/libexslt.a
+.B /usr/lib/libexslt.a
static library
.TP
-.B /usr/lib/libxslt_0.0.0/libexslt.so
+.B /usr/lib/libexslt.so
sharable library
.SH AUTHORS
Manual page by Heiko W. Rupp (hwr@pilhuhn.de)