[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Uniqueness operator for XPath?
- From: Adam Van Den Hoven <Adam.Hoven@bluezone.net>
- To: "'firstname.lastname@example.org'" <email@example.com>
- Date: Thu, 08 Feb 2001 12:47:17 -0800
> Thoughts? I suppose you may think that this should be
> in the realm of schema, but I'm not so sure. It is
> rather fundamental.
First of all, what you are talking about is not a uniqueness operator. If
you want your ! (bad choice since ! is typically NOT but something could be
used) to be a uniqueness operator then your path
would mean "Give me the unique title of the unique header of the html
document element". It suggests that if head or title are not unique then
Also unique with respect to what? Unique among its siblings, or over the
whole document. What is unique? The element name, the element and all its
contents, or the element and its attributes.
Also the way in which /html/head/title is retrieved may in fact be
optimized so that the whole nodelist is not retrieved.