[thelist] XML parsing

Michael Mell mike at nthwave.net
Mon Oct 7 10:45:02 CDT 2002


I favor option 1.
Option 2 seems to be logically incorrect -- each topic is not a subtopic
of the topic id=1.
Also, with a long tree, option 2 may run into memory errors -- Python, my
xml processor of choice, I believe has memory limits. 10,000 nested topics
will not compute!

m

PeterV wrote:

> Here is a question: what is easier for developers (using a wide variety
> of languages) to support:
> <topic id="1" name="joe">
> </topic>
> <topic id="2" name="joe's kid" parent="1">
> </topic>
>
> Or
>
> <topic id="1" name="joe">
> <topic id="2" name="joe's kid">
> </topic>
> </topic>
>
> (And you can have long trees (multiple nesting)). I need to know how
> hard one is support compared to the other, not just in programming
> languages, but even in things like Moveabletype tags, or other
> environments.
> Peter
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !

--

mike[at]nthwave.net





More information about the thelist mailing list