[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Are subelements significant by themselves?
- From: email@example.com
- To: xml-dev <firstname.lastname@example.org>
- Date: Wed, 03 Oct 2001 11:39:18 -0400
Unfortunately, the answer to all these questions is a big "it depends".
Depending on what your app needs to do with your data, it may need to know
about the element's parent. It may need to know about the element's whole
ancestory, or the entire hierarchy in which it's contained. On the other
hand I can think of plenty of apps that would be perfectly useful simply
extracting the element itself.
Michael A. Rossi
Computer Sciences Corporation
Jacobs To: xml-dev <email@example.com>
rth.com> Subject: [xml-dev] Are subelements significant by themselves?
Does an element have any useful significance without knowing the elements
above it? In other words, without knowing anything about the parent
element(s) of a given child element, is the child element useful for
anything at all?
What if the child element belonged to a different namespace than the parent
element(s)? Would an application that "understands" that namespace be able
to process the child element without knowing anything about the parent
If there any applications of this out there, can some of them be mentioned?