Hi,
I have a xml file with the following format -
<?xml version="1.0" encoding="ISO-8859-1"?>
<StoreGroupControl>
<StoreGroup>
<Store-Code>00001</Store-Code>
<GroupName>XXX GROUP</GroupName>
<OrderType>1</OrderType>
<Country>USA</Country>
</StoreGroup>
<StoreGroup>
<Store-Code>00002</Store-Code>
<GroupName>YYYY GROUP</GroupName>
<OrderType>2</OrderType>
<Country>USA</Country>
</StoreGroup>
<StoreGroup>
<Store-Code>00003</Store-Code>
<GroupName>YYYY GROUP</GroupName>
<OrderType>1</OrderType>
<Country>USA</Country>
</StoreGroup>
</StoreGroupControl>
How do I pull the Store-Code,GroupName,OrderType,Country column values from this file and load it into a relation table which has colums like this.
Store-Code
GroupName
OrderType
Country
I have a xml file with the following format -
<?xml version="1.0" encoding="ISO-8859-1"?>
<StoreGroupControl>
<StoreGroup>
<Store-Code>00001</Store-Code>
<GroupName>XXX GROUP</GroupName>
<OrderType>1</OrderType>
<Country>USA</Country>
</StoreGroup>
<StoreGroup>
<Store-Code>00002</Store-Code>
<GroupName>YYYY GROUP</GroupName>
<OrderType>2</OrderType>
<Country>USA</Country>
</StoreGroup>
<StoreGroup>
<Store-Code>00003</Store-Code>
<GroupName>YYYY GROUP</GroupName>
<OrderType>1</OrderType>
<Country>USA</Country>
</StoreGroup>
</StoreGroupControl>
How do I pull the Store-Code,GroupName,OrderType,Country column values from this file and load it into a relation table which has colums like this.
Store-Code
GroupName
OrderType
Country