summaryrefslogtreecommitdiff
path: root/src/trans-usage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans-usage.txt')
-rw-r--r--src/trans-usage.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/trans-usage.txt b/src/trans-usage.txt
new file mode 100644
index 0000000..94abec9
--- /dev/null
+++ b/src/trans-usage.txt
@@ -0,0 +1,23 @@
+XMLStarlet Toolkit: Transform XML document(s) using XSLT
+Usage: PROG tr [<options>] <xsl-file> {-p|-s <name>=<value>} [<xml-file>...]
+where
+ <xsl-file> - main XSLT stylesheet for transformation
+ <xml-file> - input XML document file/URL (stdin is used if missing)
+ <name>=<value> - name and value of the parameter passed to XSLT processor
+ -p - parameter is XPATH expression ("'string'" to quote string)
+ -s - parameter is a string literal
+<options> are:
+ --help or -h - display help message
+ --omit-decl - omit xml declaration <?xml version="1.0"?>
+ --embed or -E - allow applying embedded stylesheet
+ --show-ext - show list of extensions
+ --val - allow validate against DTDs or schemas
+ --net - allow fetch DTDs or entities over network
+#ifdef LIBXML_XINCLUDE_ENABLED
+ --xinclude - do XInclude processing on document input
+#endif
+ --maxdepth val - increase the maximum depth
+#ifdef LIBXML_HTML_ENABLED
+ --html - input document(s) is(are) in HTML format
+#endif
+