I have a relatively small xml file
<g>
<page no="1" href="page1.xml" >
<pic src="20100101001.jpg">1</pic>
<pic src="20100101002.jpg">2</pic>
<pic src="20100101003.jpg">3</pic>
</page>
<page no="2" href="page2.xml" >
<pic src="20100101011.jpg">1</pic>
<pic src="20100101012.jpg">2</pic>
<pic src="20100101013.jpg">3</pic>
</page>
<page no="3" href="page3.xml" >
<pic src="20100101021.jpg">1</pic>
<pic src="20100101022.jpg">2</pic>
<pic src="20100101023.jpg">3</pic>
</page>
</g>
I want to have three buttons (page1,page 2,page 3) on a win form that when clicked they load the relevant 3 pictures in three pictures box(the three pictures are under the same page in the xml file).
I need something that does something like "select from xml where page = X"
I know that I can do this using xpath(/other xml objects) or a treeview object... but I don't know much about any of those object, and I certainly can't tell the pros and cons of each...
So I need your help :) Thanks Asaf