summaryrefslogtreecommitdiff
path: root/examples/foreach-xpath.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/foreach-xpath.sh')
-rw-r--r--examples/foreach-xpath.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/foreach-xpath.sh b/examples/foreach-xpath.sh
new file mode 100644
index 0000000..62af650
--- /dev/null
+++ b/examples/foreach-xpath.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+the_test "'abc'"
+the_test \"a\'c\"
+the_test \'a\"c\'
+the_test 'concat("a'\''", '\'\"c\'\)
+the_test 'concat('\'\"\',\ \"\'a\'b\",\ \'\"\"\'\)
+the_test 'concat("!@#$%^&*()_+-=~`\|'\'\",\''";:/?.>,<[]{}'\'\)
+the_test '"]]>"'