Forums / Developer / XML question
K C
Friday 16 September 2005 3:09:48 am
Hi,
I have 2 XML documents that I need to link with eachother.
The first thing I do is create a loop for every event
<events> <event> <eventid>111</eventid> <placeid>5166</placeid> ... <event> <event> ... </event></events>
When I have the placeid I create a loop to search the name in the place XML file (in the second file)
<places> <place> <placeid>3050</placeid> <name>Placename1</nameNL> </place> <place> <placeid>5156</placeid> <name>Placename2</name> </place> ...</places>
But that takes a lot of time.
Is there a better solution to do this?
I use the ezXML class.
Best,
KC