#!/bin/sh

${SED:-sed} "s/[\\'\"]/\\\&/g" < sel-xpath.input | xargs -I XPATH \
    ./xmlstarlet sel --text -t -m /doc -v XPATH --nl xml/foo.xml
