## for each item
$ xmllint.exe --xpath " /config/item/destination_dir " config.xml
testtest1test2
## first item only
$ xmllint.exe --xpath " /config/item[1]/destination_dir " config.xml
test
## item with filename 'bla'
$ xmllint.exe --xpath " /config/item[ filename='bla']/destination_dir " config.xml
test1