{
    "content": [
        {
            "type": "text",
            "text": "# LIBEXSLT (man)\n\n## NAME\n\nlibexslt - extension library for XSLT\n\n## DESCRIPTION\n\nThe  libexslt  library is used to provide extensions to XSLT functions. These extensions come\nfrom the EXSLT project <http://www.exslt.org/>\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (10 subsections)\n- **DESCRIPTION**\n- **USAGE** (2 subsections)\n- **FILES**\n- **AUTHORS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "LIBEXSLT",
        "section": "",
        "mode": "man",
        "summary": "libexslt - extension library for XSLT",
        "synopsis": "",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "libxml",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/libxml/3/json"
            },
            {
                "name": "libxslt",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/libxslt/3/json"
            },
            {
                "name": "xmllint",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/xmllint/1/json"
            },
            {
                "name": "xsltproc",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/xsltproc/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "#include <libexslt/exslt.h>",
                        "lines": 1
                    },
                    {
                        "name": "void exsltCommonRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltDateRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltDynRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltFuncRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltMathRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltSetsRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltStrRegister(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltRegisterAll(void);",
                        "lines": 1
                    },
                    {
                        "name": "void exsltSaxonRegister(void);",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 86,
                "subsections": [
                    {
                        "name": "DATES and TIMES",
                        "lines": 29
                    },
                    {
                        "name": "day-of-week-in-month()",
                        "lines": 52
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "libexslt - extension library for XSLT\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "#include <libexslt/exslt.h>",
                        "content": ""
                    },
                    {
                        "name": "void exsltCommonRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltDateRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltDynRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltFuncRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltMathRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltSetsRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltStrRegister(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltRegisterAll(void);",
                        "content": ""
                    },
                    {
                        "name": "void exsltSaxonRegister(void);",
                        "content": ""
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "The  libexslt  library is used to provide extensions to XSLT functions. These extensions come\nfrom the EXSLT project <http://www.exslt.org/>\n",
                "subsections": []
            },
            "USAGE": {
                "content": "To make use of these functions in XSLT the appropriate  namespace  must  be  defined  on  the\nxsl:stylesheet element.  To enable support for them in libxslt(3) you must call the appropri‐\nate functions (listed in the SYNOPSIS section) to register the extensions.   The  xslt-config\nshell script can be used to obtain the necessary flags for the pre-processor and linker.  The\nsupported extensions are:\n\nCOMMON\nNamespace: http://exslt.org/common\n\nSee http://www.exslt.org/exsl/index.html for a description.\n\nnode-set()            convert the given RTF into a node-set.\n\nobject-type()         returns the type of the given argument.\n\ndocument              Create multiple output  documents.  See  http://www.exslt.org/exsl/ele‐\nments/document/index.html\n\n\nMATH\nNamespace: http://exslt.org/math\n\nSee http://www.exslt.org/math/index.html for a description.\n\nmin()                 returns the minimum value of the given node-set\n\nmax()                 returns the maximum value of the given node-set\n\nhighest()             returns  the nodes in the node-set whose value is the maximum value for\nthe node-set.\n\nlowest()              returns the nodes in the node-set whose value is the minimum value  for\nthe node-set.\n\nconstant()            returns  a number value of the given constant with the given precision.\nThe constants are PI, E, SQRRT2, LN2, LN10, LOG2E, and SQRT12.\n\nrandom()              returns a random number between 0 and 1 inclusive.\n\nabs()                 returns the absolute value of the argument.\n\nsqrt()                returns the square root of the argument.\n\npower()               returns the power base and power arguments.\n\nlog()                 returns the natural log of the argument.\n\nsin()                 returns the sine of the argument.\n\ncos()                 returns the cosine of the argument.\n\ntan()                 returns the tangent of the argument.\n\nasin()                returns the arc sine of the argument.\n\nacos()                returns the arc cosine of the argument.\n\natan()                returns the arc tangent of the argument.\n\natan2()               returns the arc tangent function of the y/x arguments.\n\nexp()                 returns the exponential function of the argument.\n\n\nSETS\nNamespace: http://exslt.org/sets\n\nSee http://www.exslt.org/set/index.html for a description.\n\ndifference()          returns the difference between the two given node-sets.\n\nintersection()        returns a node-set of the nodes within both given node-sets.\n\ndistinct()            returns a node-set of all nodes in the first argument that are  not  in\nthe seconds argument.\n\nhas-same-node()       returns  TRUE  if  there is an intersection between the two given node-\nsets.\n\nleading()             returns a node-set of all nodes in the first argument that precede  the\nfirst node in the second argument.\n\ntrailing()            returns  a  node-set of all nodes in the first argument that follow the\nfirst node in the second argument.\n\n",
                "subsections": [
                    {
                        "name": "DATES and TIMES",
                        "content": "Namespace: http://exslt.org/dates-and-times\n\nSee http://www.exslt.org/date/date.html for a description.\n\ndate-time()           returns the current date and time as a date/time string.\n\ndate()                returns the date specified in the given date/time string.\n\ntime()                returns the time specified in the date/time string given as  the  argu‐\nment.\n\nyear()                returns the year of a date as a number.\n\nleap-year()           returns true if the year given in a date is a leap year.\n\nmonth-in-year()       returns the month of a date as a number.\n\nmonth-name()          returns the full name of the month of a date.\n\nmonth-abbreviation()  returns the abbreviation of the month of a date.\n\nweek-in-year()        returns the week of the year as a number.\n\nweek-in-month()       returns the week in a month of a date as a number.\n\nday-in-year()         returns the month of a date as a number.\n\nday-in-month()        returns the day of a date as a number.\n"
                    },
                    {
                        "name": "day-of-week-in-month()",
                        "content": "returns the day-of-the-week in a month of a date as a number.\n\nday-in-week()         returns the day of the week given in a date as a number.\n\nday-name()            returns the full name of the day of the week of a date.\n\nday-abbreviation()    returns the abbreviation of the day of the week of a date.\n\nhour-in-day()         returns the hour of the day as a number.\n\nminute-in-hour()      returns the minute of the hour as a number.\n\nsecond-in-minute()    returns the second of the minute as a number.\n\nseconds()             returns the number of seconds specified by the argument string.\n\nadd()                 returns the date/time resulting from adding a duration to a date/time.\n\nadd-duration()        returns  the  duration  resulting  from  adding two given durations to‐\ngether.\n\ndifference()          returns the duration between the first date and the second date.\n\nduration()            returns a duration string that represents the given number  of  seconds\nsince 1970-01-01T00:00:00.\n\n\nSTRINGS\nNamespace: http://exslt.org/strings\n\nSee http://www.exslt.org/str/index.html for a description.\n\ntokenize()            returns  a  node  set of token elements, each containing one token from\nthe string.\n\npadding()             returns a string padded to a certain length.\n\nalign()               returns a string aligned within another string.\n\nconcat()              returns the concatenation of the string values of  the  nodes  in  that\nnode set.\n\n\nFUNCTIONS\nNamespace: http://exslt.org/functions\n\nSee http://www.exslt.org/func/index.html for a description.\n\nfunction              declares an extension function.\n\nresult                returns the result of an extension function declared in function().\n"
                    }
                ]
            },
            "FILES": {
                "content": "/usr/bin/xslt-config\nshell script giving pre-processor and linker flags.\n\n/usr/lib/libexslt.a\nstatic library\n\n/usr/lib/libexslt.so\nsharable library\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Manual page by Heiko W. Rupp (hwr@pilhuhn.de)\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "libxml(3), libxslt(3), xmllint(1) xsltproc(1),\n\n\n\nlibxslt                                   04 November 2003                               LIBEXSLT(3)",
                "subsections": []
            }
        }
    }
}