XPATH broad selector paths like // are global rather than relative. To make them relative we must add the relativity marker . -> .//