W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

Re: issue (attribute-parent)

From: James Clark <jjc@jclark.com>
Date: Tue, 13 Jul 1999 23:46:27 +0700
Message-ID: <378B6D63.6E5E5D39@jclark.com>
To: "Weichel Bernhard (K3/EMW4) *" <Bernhard.Weichel@de.bosch.com>
CC: "'www-xpath-comments@w3.org'" <www-xpath-comments@w3.org>
Thanks for your comment.

"Weichel Bernhard (K3/EMW4) *" wrote:
> 
> I think, an attribute is rather a property of a node than an child of a
> node. Therfore the element to which an attribute is attached should not be
> considered as the parent.

> Otherwise descendant should provide all attributes not only the child nodes.

Surely a descendant is a child or a child of a child etc.

> I do not believe that it is necessary to navigate from an attribute to the
> related node.

User experience with XSLT indicates that users do in fact want to do
this.

James
Received on Tuesday, 13 July 1999 15:57:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT