Loading XML with possible infinite tags
Posted
by Firstmate
on Stack Overflow
See other posts from Stack Overflow
or by Firstmate
Published on 2010-05-16T22:22:18Z
Indexed on
2010/05/16
22:30 UTC
Read the original article
Hit count: 177
(I'm doing this in AS3, but I'm sure the answer could be given in psuedocode)
Basically, I have a XML file similar to:
<Main>
<Event>
<Name>Blah</Name>
<Event>
Name>Blah2</Name>
<Event>
<Name>Blah3</Name>
...
</Event>
</Event>
</Event>
</Main>
Yeah, to some extent it's poor design. But the idea I'm going for is that any Event has the potential to compromise of other Events and this idea kinda loops.
Any ideas on how to do this?
© Stack Overflow or respective owner