I\'ve seen this syntax several places (eg, here):
xmllint --xpath \'/plist/array/string/text()\' tmp.xml, used to query a particular XML node using an x
xmllint --xpath \'/plist/array/string/text()\' tmp.xml
xmllint --shell tmp.xml <<<'xpath /plist/array/string/text()'
If you need to make xmllint to read stdin:
cat /tmp/tmp.xml | xmllint --shell <(cat) <<<'xpath /plist/array/string/text()'