echo ../@lang selects the lang attribute of the parent of the context node
../xgrep "/xgrep-test/olist/item/../@lang" xgrep-test1.xml

