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