I'm trying to go through a collection of objects and read out a value 'location' for each, however, I don't want to pull out any values for each object's children that also may happen to be called 'location'. Using 'find' brings all the 'location' values right down the tree, whereas I just want the location values for the current level.
<location>3rd cubicle from left</location>
How do I just get the location of the offices (and not the people)? I'm trying as below, but this stores the location of the people objects too.