Re: Self reference in an element

On 7/12/2011 9:37 AM, Mukul Gandhi wrote:
> Including the "dept" structure recursively within itself, looks a bit
> inefficient to me.

I'm not sure I agree with that. It depends on what you're optimizing for, 
what tools you're using, etc. There are certainly circumstances in which 
modeling the tree semantics of the information (the hierarchy of 
departments) directly in the tree of elements is the natural thing to do. 
It certainly seems to make processing with tools such as XPath & friends 
much easier.

Noah

Received on Tuesday, 12 July 2011 16:12:54 UTC