|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A philosophical question?
> In the XPath spec, the following statement is > made in the Data Model (section 5.3, for example, also 5.4 > re: namespace nodes) "... the element is the parent of each of these > attribute nodes; however, an attribute node is not a child of its parent element." > > I try not to be too obsessed by symmetry, but I find this > statement somewhat perplexing. Any insights? The only reason people find this disquieting is that the names of the relationships are taken from a biological analogy which has been stretched too far. If different names had been chosen, e.g. has-owner and has-content, there would be no perplexity. No-one seems to worry that nodes have only one parent but people have two, it all depends on familiarity. Mike Kay *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








