I have this type of XML file :
<Product>
<item1>...</item1>
<item2>...</item2>
<item3>...</item3>
</Product>
<Product>
<item1>...</item1>
<item2>...</item2>
<item4>...</item4>
<item5>...</item5>
</Product>
<Product>
<item1>...</item1>
<item6>...</item6>
</Product>
I would like to get the list of all unique children element of the parent type "Product", like this :
<item1>...</item1>
<item2>...</item2>
<item3>...</item3>
<item4>...</item4>
<item5>...</item5>
<item6>...</item6>
I don't care of what is under these "item" elements, I just want to list all types of "item" elements that can exist under all "Product" elements of my file, using XPATH 1.0 if possible. I want to display each "item" element one time only, even if they exist under several "Product" elements.
How can I do that ? Thank you for your help !