I received an xml file from someone and I’m having a hard time trying to process it (using an ETL tool). I don’t have much experience dealing with xml files so I’m wondering if this xml format is normal and I just need to somehow translate it. I’m having trouble because there are multiple property tags for each item.
I appreciate any help you can provide.
-Chris
<items>
<item name="itemA">
<property propertyName="color">
<value>Red</value>
</property>
<property propertyName="shape">
<value>Circle</value>
</property>
<property propertyName="age">
<value>20</value>
</property>
</item>
<item name="itemB">
...
</item>
</items>
Ideally, I’d like to see this:
<item name="itemA">
<color>Red</color><shape>Circle</shape><age>20</age>
</item>
Both of your XML documents are well-formed, but they are different in content.
Note that line-breaks don’t play a role here.