W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2011

Re: Self reference in an element

From: Noah Mendelsohn <nrm@arcanedomain.com>
Date: Tue, 12 Jul 2011 12:12:25 -0400
Message-ID: <4E1C7269.3000004@arcanedomain.com>
To: Mukul Gandhi <gandhi.mukul@gmail.com>
CC: Avinash Nagabhushan <avinash.sit@gmail.com>, xmlschema-dev@w3.org


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:59 UTC