Given the following XML,
<root>
<property>
<programs>
<program>1</program>
<program>5</program>
</programs>
<tool>
</tool>
</property>
<property>
<tool>
<programs>
<program>1</program>
<program>2</program>
</programs>
</tool>
</property>
</root>
how would I write an XPath expression to return a collection containing the "property" nodes when program=1? I think I want to write something like "give me all the property nodes when self or a descendant contains programs[program=1]", but can't get it to just give me the "property" nodes...