PDA

View Full Version : Need help with getting XML IDs into List Comp.


SolidTron
08-31-2004, 12:05 PM
Hi Folks,

I have problems into getting my XML to load properly into my List Component.
As follows, I have a XML db which looks like this,

<lists>
<list>
<aid>1</aid>
<name>Name 1</name>
<desc>Description of Name 1</desc>
<img>../img/name_1.jpg</img>
</list>
<list>
<aid>2</aid>
<name>Name 2</name>
<desc>Description of Name 2</desc>
<img>../img/name_2.jpg</img>
</list>
</lists>

What I want is the List Component te retrieve all <aid>'s, and add them into the List Component with their names which are also loaded from <name>.

So far, I partially managed to do this, but the list would only load 1 name and not the rest.

So could someone please tell how I can solve this?