summaryrefslogtreecommitdiff
path: root/examples/xsl-param1
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
commit7122fb9745e4622cb4c5d340cf1557e2fda1efe3 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /examples/xsl-param1
downloadxmlstarlet-tizen_2.3.tar.gz
xmlstarlet-tizen_2.3.tar.bz2
xmlstarlet-tizen_2.3.zip
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