Re: Self reference in an element

Noah Mendelsohn <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.