Steven Sacks wrote:

> I disagree with using explicit node names.  He's building an org chart of
> people, so the nodes should be person and the title should be an attribute.
>
> <people>
>    <person title="CEO" name="Bill Gates">
>        <person title="President" name="Steve Ballmer"/>
>        <person title="Manager - North America" name="Joe Schmoe">
>            <person title="Manager - Pacific Northwest" name="Bob Jones"/>
>        </person>
>    </person>
> </people>

It's unusual to find myself disagreeing with Steven Sacks--you're
usually right on money.

But here I do disagree. An org chart shows the organization of a unit,
and the people are secondary. When Steve Ballmer resigns or gets hired
by Google, Microsoft will still have a president.

It's also clearer to read, and easier to program, when every node
isn't named the same. Of course, there should be some
flexibility--instead of <guru name="Mark Jonkman"> you could have
something more generic, such as <level1 name="Steven Sacks">.

Cordially,

Kerry Thompson

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to