File: Data.xml
Samson
0001
name 1
0003
Delihla
0004
0005
0006
File: Transform.xslt
version="1.0">
select="following-sibling::notification[count(preceding-sibling::employeeName[1] | current()) = 1]">
Output:
Samson
0001
name 1
0003
Delihla
0004
0005
0006