echo following-sibling::chapter[position\(\)=1] selects the next chapter sibling of the context node
../xgrep "/xgrep-test/para/following-sibling::chapter[position()=1]" xgrep-test1.xml

