summaryrefslogtreecommitdiff
path: root/examples/xsl-param1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xsl-param1')
-rw-r--r--examples/xsl-param13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/xsl-param1 b/examples/xsl-param1
new file mode 100644
index 0000000..88b3085
--- /dev/null
+++ b/examples/xsl-param1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Passing parameters to XSLT stylesheet
+./xmlstarlet tr xsl/param1.xsl -p Count='count(/xml/table/rec)' -s Text="Count=" xml/table.xml