W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1998

Re: XSL working draft

From: James Clark <jjc@jclark.com>
Date: Tue, 25 Aug 1998 12:07:46 +0700
Message-ID: <35E246A2.28A103A9@jclark.com>
To: barbara.munsil@internetMCI.com
CC: xsl-editors@w3.org, wes_munsil@csgsystems.org
*[attribute(foo)] does NOT mean the same as attribute(foo).  The latter
returns the foo attribute of the current node, whereas the former
returns the current node's element children that have a foo attribute.

Barb Munsil wrote:
> Dear Sirs:
> The effect of the production for NodePatterns is to allow the final ElementPattern in an
> ElementPatterns, if it is the form *[attribute(QName)], to be replaced by the shorthand
> attribute(QName).  This allowance is non-orthogonal in two respects:  it is only made for the final
> ElementPattern; and it is not made for any other Qualifier or combination of Qualifiers.  Moreover,
> it seems to be of little practical utility.  The grammar and language would be simplified, with no
> loss of expressive power, if it were removed.  This could be done, for example, by removing the
> production for NodePatterns, and replacing NodePatterns by ElementPatterns in the production for
> AncestryPattern.
> Thank you for your consideration.
> Dr. Wes Munsil
Received on Tuesday, 25 August 1998 01:22:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:16 UTC