I am trying to create an image gallery :
<card>
<product catalog="Thread Works">
<name>AK E001</name>
<price>45</price>
<path>assets\cards\AK_E001.jpg</path>
</product>
<product catalog="Paper Work">
<name>AK E001</name>
<price>45</price>
<path>assets\cards\AK_PP003.jpg</path>
</product>
<product catalog="Thread Works">
<name>AK E002</name>
<price>50</price>
<path>assets\cards\AK_E002.jpg</path>
</product>
I can access the attribute, but if i am selecting "Thread Works" i want only access
<product catalog="Thread Works">
with children node , for additem to array collection any Help Thanks