I have an XML file made with Visual Studio .NET Dataset. It has more than 1 table which structure is as follow.
<fruits>
<watches>
I want to remove some columns from each table and rewrite it to another XML with different name. The XML output should be like this.
<fruits>
<watches>
As you can see, I have took out <weight> from table Fruits and <band> from table Watches. This looks really simple, yet I still can't find a way to do this with "Get data from XML" and "XML Output". Is there any clue how this transformation can be done?
Really appreciate any ideas. Thanks.
<fruits>
<name>Apple</name>
<color>Red</color>
<weight>0.5</weight>
<price>0.99</price>
</fruits><color>Red</color>
<weight>0.5</weight>
<price>0.99</price>
<watches>
<brand>Guess</brand>
<band>Rubber</band>
<dial>White with red numbers</dial>
<price>150</price>
</watches><band>Rubber</band>
<dial>White with red numbers</dial>
<price>150</price>
I want to remove some columns from each table and rewrite it to another XML with different name. The XML output should be like this.
<fruits>
<name>Apple</name>
<color>Red</color>
<price>0.99</price>
</fruits><color>Red</color>
<price>0.99</price>
<watches>
<brand>Guess</brand>
<dial>White with red numbers</dial>
<price>150</price>
</watches><dial>White with red numbers</dial>
<price>150</price>
As you can see, I have took out <weight> from table Fruits and <band> from table Watches. This looks really simple, yet I still can't find a way to do this with "Get data from XML" and "XML Output". Is there any clue how this transformation can be done?
Really appreciate any ideas. Thanks.