Hi,
I usually have no problem reading XML from a aimple feed like
- <item>
<title></title>
<link></link>
<date></date>
<stad></stad>
<land>S</land>
<description></description>
</item>
But this time is seems a little bit harder and I'm stuck. The XML feed looks like
- <Cathegories>
- <Cathegory title="FirstOne">
<SubCathegory></SubCathegory>
<SubCathegory></SubCathegory>
<SubCathegory></SubCathegory>
</Cathegory>
- <Cathegory title="SecondOne">
<SubCathegory></SubCathegory>
<SubCathegory></SubCathegory>
<SubCathegory></SubCathegory>
<SubCathegory></SubCathegory>
</Cathegory>
...........
...........
</Cathegories>
- <Products>
- <Product id="40">
<Cathegory></Cathegory>
<SubCathegory></SubCathegory>
<Title></Title>
<SMSCode></SMSCode>
</Product>
- <Product id="114">
<Cathegory></Cathegory>
<SubCathegory></SubCathegory>
<Title></Title>
<SMSCode></SMSCode>
</Product>
.........
.........
</Products>
The tag names are of two different types (Cathegories and Products). I also have to read the id for Products and title for Cathegories.
The XML feed is really long, so reading it into a array is out of question, which was my first idea to do, since it may be easier to process.
Any help is beeing appreciated!!