1 .TH LIBEXSLT 3 "04 November 2003" libxslt
3 libexslt \- extension library for XSLT
5 .B #include <libexslt/exslt.h>
7 .B void exsltCommonRegister(void);
9 .B void exsltDateRegister(void);
11 .B void exsltDynRegister(void);
13 .B void exsltFuncRegister(void);
15 .B void exsltMathRegister(void);
17 .B void exsltSetsRegister(void);
19 .B void exsltStrRegister(void);
21 .B void exsltRegisterAll(void);
23 .B void exsltSaxonRegister(void);
27 library is used to provide extensions to
29 functions. These extensions come from the
31 project <http://www.exslt.org/>
34 To make use of these functions in
36 the appropriate namespace must be defined on the
38 element. To enable support for them in
40 you must call the appropriate functions (listed in the
42 section) to register the extensions. The
44 shell script can be used to obtain the necessary flags for
45 the pre-processor and linker.
46 The supported extensions are:
49 Namespace: http://exslt.org/common
51 See http://www.exslt.org/exsl/index.html for a description.
54 convert the given RTF into a node-set.
57 returns the type of the given argument.
60 Create multiple output documents. See http://www.exslt.org/exsl/elements/document/index.html
64 Namespace: http://exslt.org/math
66 See http://www.exslt.org/math/index.html for a description.
69 returns the minimum value of the given node-set
72 returns the maximum value of the given node-set
75 returns the nodes in the node-set whose value is the maximum value for the node-set.
78 returns the nodes in the node-set whose value is the minimum value for the node-set.
81 returns a number value of the given constant with the given precision. The constants are PI, E, SQRRT2, LN2, LN10, LOG2E, and SQRT1_2.
84 returns a random number between 0 and 1 inclusive.
87 returns the absolute value of the argument.
90 returns the square root of the argument.
93 returns the power base and power arguments.
96 returns the natural log of the argument.
99 returns the sine of the argument.
102 returns the cosine of the argument.
105 returns the tangent of the argument.
108 returns the arc sine of the argument.
111 returns the arc cosine of the argument.
114 returns the arc tangent of the argument.
117 returns the arc tangent function of the y/x arguments.
120 returns the exponential function of the argument.
124 Namespace: http://exslt.org/sets
126 See http://www.exslt.org/set/index.html for a description.
129 returns the difference between the two given node-sets.
132 returns a node-set of the nodes within both given node-sets.
135 returns a node-set of all nodes in the first argument that are not in the seconds argument.
138 returns TRUE if there is an intersection between the two given node-sets.
141 returns a node-set of all nodes in the first argument that precede the first node in the second argument.
144 returns a node-set of all nodes in the first argument that follow the first node in the second argument.
146 .SS "DATES and TIMES"
148 Namespace: http://exslt.org/dates-and-times
150 See http://www.exslt.org/date/date.html for a description.
153 returns the current date and time as a date/time string.
156 returns the date specified in the given date/time string.
159 returns the time specified in the date/time string given as the argument.
162 returns the year of a date as a number.
165 returns true if the year given in a date is a leap year.
168 returns the month of a date as a number.
171 returns the full name of the month of a date.
173 .B month-abbreviation()
174 returns the abbreviation of the month of a date.
177 returns the week of the year as a number.
180 returns the week in a month of a date as a number.
183 returns the month of a date as a number.
186 returns the day of a date as a number.
188 .B day-of-week-in-month()
189 returns the day-of-the-week in a month of a date as a number.
192 returns the day of the week given in a date as a number.
195 returns the full name of the day of the week of a date.
197 .B day-abbreviation()
198 returns the abbreviation of the day of the week of a date.
201 returns the hour of the day as a number.
204 returns the minute of the hour as a number.
206 .B second-in-minute()
207 returns the second of the minute as a number.
210 returns the number of seconds specified by the argument string.
213 returns the date/time resulting from adding a duration to a date/time.
216 returns the duration resulting from adding two given durations together.
219 returns the duration between the first date and the second date.
222 returns a duration string that represents the given number of seconds since 1970-01-01T00:00:00.
226 Namespace: http://exslt.org/strings
228 See http://www.exslt.org/str/index.html for a description.
231 returns a node set of token elements, each containing one token from the string.
234 returns a string padded to a certain length.
237 returns a string aligned within another string.
240 returns the concatenation of the string values of the nodes in that node set.
244 Namespace: http://exslt.org/functions
246 See http://www.exslt.org/func/index.html for a description.
249 declares an extension function.
252 returns the result of an extension function declared in function().
255 .I /usr/bin/xslt-config
256 shell script giving pre-processor and linker flags.
258 .I /usr/lib/libexslt.a
261 .I /usr/lib/libexslt.so
264 Manual page by Heiko W. Rupp (hwr@pilhuhn.de)
270 .\" end of manual page