echo employee[@secretary and @assistant] selects all the employee children of the context node that have both a secretary attribute and an assistant attribute
../xgrep "/xgrep-test/employee[@secretary and @assistant]" xgrep-test1.xml


