I hope my questions isn't too dumb :)
What I want to do is to automatically list all different tagnames and attributes from a given xml document; from the first item for example. So that I can choose which ones I want to parse.
Example, for this xml:
<productItem id="123456">
<name>laptop</name>
<trackingLinks>
<trackingLink>
<ppc>http://xxxxxxxxx</ppc>
</trackingLink>
</trackingLinks>
<description>laptop computer</description>
</productItem>
I should get a list of all tagnames/attributes like:
productItem>id
name
trackingLinks>trackingLink>ppc
description
Any ideas?
Thanks