summaryrefslogtreecommitdiff
path: root/examples/exslt1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/exslt1')
-rw-r--r--examples/exslt13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/exslt1 b/examples/exslt1
new file mode 100644
index 0000000..5d0ba7f
--- /dev/null
+++ b/examples/exslt1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Calculate EXSLT (XSLT extentions) XPath value
+echo "<x/>" | ./xmlstarlet sel -T -t -v "math:abs(-1000)" --nl