I will let this line with as it is now also I agree that both code lines are possible. If the layout is changing at some future time, then the xpath might be more flexible to catch that...