Find A XML node by attribute?

Does anyone have a way of looking for a specific node within a XML doc? The parameters of the search function would be an attribute. I would like for the return to just leave me at the location of the node. Then I would like to edit the childnodes and what not of the node that meets the criteria.

Any help would be awsome!