after reading the xml file i want to insert into a table ,<attraction
<type> ,<attraction ><description> etc values.
I tried no of methods but did n't work , please help me , thanks in advance.
<?xml version="1.0" encoding="UTF-8" ?>
- <propertyInfoResponse xmlns="http://www.travelweb.com/tvlw">
<attractionList count="41">
- <attraction>
<type>Attraction</type>
<name>Windor+Castle+and+Shopping</name>
<description>5+Miles+East</description>
</attraction>
- <attraction>
<type>Attraction</type>
<name>Eton%3A-+Eton+College%2C+antique+shop</name>
<description>5+Miles+East</description>
</attraction>
- <attraction>
<type>Attraction</type>
<name>Thorpe+park</name>
<description>5+Miles+Northeast</description>
</attraction>
- <attraction>
<type>Attraction</type>
<name>Legoland</name>
<description>8+Miles+West</description>
</attraction
</attractionList>
</propertyInfoResponse>