echo child::para[position\(\)=last\(\)-1] selects the last but one para child of the context node
../xgrep "/xgrep-test/child::para[position()=last()-1]" xgrep-test1.xml

