From 636a24b3d9aaf208c172999c2668cb38db1d0dfa Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 13 Jun 2003 14:58:09 +0000 Subject: Moved the man pages to section 3 applied patch from Peter Breitenlohner * libxslt.spec.in libexslt/Makefile.am libexslt/libexslt.3 libxslt/Makefile.am libxslt/libxslt.3: Moved the man pages to section 3 * libexslt/sets.c: applied patch from Peter Breitenlohner * doc/*: rebuilt the docs * tests/docbook/result//* tests/xmlspec/*.html: changes in generattion of " as " in element content. Daniel --- libexslt/Makefile.am | 2 +- libexslt/libexslt.3 | 240 +++++++++++++++++++++++++++++++++++++++++++++++++++ libexslt/libexslt.4 | 240 --------------------------------------------------- libexslt/sets.c | 4 +- 4 files changed, 243 insertions(+), 243 deletions(-) create mode 100644 libexslt/libexslt.3 delete mode 100644 libexslt/libexslt.4 (limited to 'libexslt') diff --git a/libexslt/Makefile.am b/libexslt/Makefile.am index c520580d..0bbfc514 100644 --- a/libexslt/Makefile.am +++ b/libexslt/Makefile.am @@ -30,6 +30,6 @@ libexslt_la_SOURCES = \ libexslt_la_LIBADD = $(INSTALLED_XSLT_LIB) $(EXTRA_LIBS) libexslt_la_LDFLAGS = -version-info @LIBEXSLT_VERSION_INFO@ -man_MANS = libexslt.4 +man_MANS = libexslt.3 EXTRA_DIST = $(man_MANS) diff --git a/libexslt/libexslt.3 b/libexslt/libexslt.3 new file mode 100644 index 00000000..7acfdef2 --- /dev/null +++ b/libexslt/libexslt.3 @@ -0,0 +1,240 @@ +.TH libexslt 3 "15 May 2002" +.SH NAME +libexslt \- extension library for XSLT +.SH DESCRIPTION +The +.I libexslt +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 +proper name space +.SH SUPPORTED FUNCTIONS +.B COMMON +.TP 2.2i +Namespace: http://exslt.org/common +.TP 2.2i +.B node-set() +convert the given RTF into a node-set +.TP +.B object-type() +returns the type of the given argument +.TP +.B document() +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://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://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://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/libexslt.a +static library +.TP +.B /usr/lib/libexslt.so +sharable library +.SH AUTHORS +Manual page by Heiko W. Rupp (hwr@pilhuhn.de) +.SH SEE ALSO +.IR libxslt (3), +.IR libxml (3), +.IR xsltproc (1), +.IR xmllint (1) +.\" end of manual page diff --git a/libexslt/libexslt.4 b/libexslt/libexslt.4 deleted file mode 100644 index db3763c7..00000000 --- a/libexslt/libexslt.4 +++ /dev/null @@ -1,240 +0,0 @@ -.TH libexslt 4 "15 May 2002" -.SH NAME -libexslt \- extension library for XSLT -.SH DESCRIPTION -The -.I libexslt -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 -proper name space -.SH SUPPORTED FUNCTIONS -.B COMMON -.TP 2.2i -Namespace: http://exslt.org/common -.TP 2.2i -.B node-set() -convert the given RTF into a node-set -.TP -.B object-type() -returns the type of the given argument -.TP -.B document() -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://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://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://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/libexslt.a -static library -.TP -.B /usr/lib/libexslt.so -sharable library -.SH AUTHORS -Manual page by Heiko W. Rupp (hwr@pilhuhn.de) -.SH SEE ALSO -.IR libxslt (3), -.IR libxml (3), -.IR xsltproc (1), -.IR xmllint (1) -.\" end of manual page diff --git a/libexslt/sets.c b/libexslt/sets.c index 72f34133..59dc4387 100644 --- a/libexslt/sets.c +++ b/libexslt/sets.c @@ -101,8 +101,8 @@ static void exsltSetsDistinctFunction (xmlXPathParserContextPtr ctxt, int nargs) { xmlXPathObjectPtr obj; xmlNodeSetPtr ns, ret; - int boolval; - void *user; + int boolval = 0; + void *user = NULL; if (nargs != 1) { xmlXPathSetArityError(ctxt); -- cgit v1.2.3