Unknown option --help
Usage: /usr/bin/xsltproc [options] stylesheet file [file ...]
Options:
--version or -V: show the version of libxml and libxslt used
--verbose or -v: show logs of what's happening
--output file or -o file: save to a given file
--timing: display the time used
--repeat: run the transformation 20 times
--debug: dump the tree of the result instead
--dumpextensions: dump the registered extension elements and functions to stdout
--novalid skip the DTD loading phase
--nodtdattr do not default attributes from the DTD
--noout: do not dump the result
--maxdepth val : increase the maximum depth (default 3000)
--maxvars val : increase the maximum variables (default 15000)
--huge: relax any hardcoded limit from the parser
fixes "parser error : internal error: Huge input lookup"
--seed-rand val : initialize pseudo random number generator with specific seed
--html: the input document is(are) an HTML file(s)
--encoding: the input document character encoding
--param name value : pass a (parameter,value) pair
name is a QName or a string of the form {URI}NCName.
value is an UTF8 XPath expression.
string values must be quoted like "'string'"
or use stringparam to avoid it
--stringparam name value : pass a (parameter, UTF8 string value) pair
--path 'paths': provide a set of paths for resources
--nonet : refuse to fetch DTDs or entities over network
--nowrite : refuse to write to any file or resource
--nomkdir : refuse to create directories
--writesubtree path : allow file write only with the path subtree
--catalogs : use SGML catalogs from $SGML_CATALOG_FILES
otherwise XML Catalogs starting from
file:///etc/xml/catalog are activated by default
--xinclude : do XInclude processing on document input
--xincludestyle : do XInclude processing on stylesheets
--load-trace : print trace of all external entites loaded
--profile or --norman : dump profiling information
Project libxslt home page: https://gitlab.gnome.org/GNOME/libxslt
Options (28)
| Option | Description | Source |
|---|---|---|
--catalogs | Use the SGML catalog specified in SGML_CATALOG_FILES to resolve the location of external entities. | man |
--debug | Output an XML tree of the transformed document for debugging purposes. | man |
--dumpextensions | Dumps the list of all registered extensions on stdout. | man |
--html | The input document is an HTML file. | man |
--load-trace | Display all the documents loaded during the processing to stderr. | man |
--maxdepth VALUE | Adjust the maximum depth of the template stack before libxslt(3) concludes it is in an infinite loop. | man |
--maxvars VALUE | Maximum number of variables. | man |
--huge | Relax hardcoded limits of the XML parser by setting the XML_PARSE_HUGE parser option. | man |
--seed-rand VALUE | Initialize pseudo random number generator with specific seed. | man |
--nodtdattr | Do not apply default attributes from the document's DTD. | man |
--nomkdir | Refuses to create directories. | man |
--nonet | Do not use the Internet to fetch DTDs, entities or documents. | man |
--noout | Do not output the result. | man |
--novalid | Skip loading the document's DTD. | man |
--nowrite | Refuses to write to any file or resource. | man |
-o, --output FILE | Direct output to the given FILE. | man |
--encoding ENCODING | Allow to specify the encoding for the input. | man |
--param PARAMNAME | Pass a parameter of name PARAMNAME and value PARAMVALUE to the stylesheet. | man |
--path "PATH(S)" | Use the (space- or colon-separated) list of filesystem paths specified by PATHS to load DTDs, entities or documents. | man |
--profile, --norman | Output profiling information detailing the amount of time spent in each part of the stylesheet. | man |
--repeat | Run the transformation 20 times. | man |
--stringparam PARAMNAME | Pass a parameter of name PARAMNAME and value PARAMVALUE where PARAMVALUE is a string rather than a node identifier. | man |
--timing | Display the time used for parsing the stylesheet, parsing the document and applying the stylesheet and saving the result. | man |
-v, --verbose | Output each step taken by xsltproc in processing the stylesheet and the document. | man |
-V, --version | Show the version of libxml(3) and libxslt(3) used. | man |
--writesubtree PATH | Allow file write only within the PATH subtree. | man |
--xinclude | Process the input document using the XInclude specification. | man |
--xincludestyle | Process the stylesheet with XInclude. | man |
Exit status (12) from the manual page
0 | No error (normal operation) |
1 | No argument |
2 | Too many parameters |
3 | Unknown option |
4 | Failed to parse the stylesheet |
5 | Error in the stylesheet |
6 | Error in one of the documents |
7 | Unsupported xsl:output method |
8 | String parameter contains both quote and double-quotes |
9 | Internal processing error |
10 | Processing was stopped by a terminating message |
11 | Could not write the result to the output file |