To find a Node by Text
or Attribute, use the methods FindNodeByText()
The documentation describes more on this.
Finding Nodes at Runtime
Now iterate through the nodes and set the Visible property of node accordingly. I hope the following links will be of help in iterating through the nodes from ocde.
Tutorial: Finding Nodes