From: Kim Nguyễn Date: Fri, 19 Oct 2012 12:44:27 +0000 (+0200) Subject: Fix the xpath script to enclose results in an element X-Git-Url: http://git.nguyen.vg/gitweb/?p=SXSI%2Fxpathcomp.git;a=commitdiff_plain;h=a726eb19fac8763058762f499bcae849cbf78186 Fix the xpath script to enclose results in an element --- diff --git a/tests/scripts/xpath.sh b/tests/scripts/xpath.sh index abb32b4..dec8476 100755 --- a/tests/scripts/xpath.sh +++ b/tests/scripts/xpath.sh @@ -37,10 +37,11 @@ then exit 1 fi - +echo "" if [ "$COUNT" == "0" ] then xmlstarlet sel -t -m "$QUERY" -c . -n "$FILE" else xmlstarlet sel -t -v "count($QUERY)" "$FILE" fi +echo ""