[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <michael.h.kay@n...>
  • To: 'Leigh Dodds' <ldodds@i...>, 'David Carlisle' <davidc@n...>
  • Date: Tue, 06 Nov 2001 12:56:39 +0000

> > (This is like the xpath id() function, which does not
> require unique ids.)
>
> I thought it did require uniqueness:
>
> "The id function selects elements by their unique ID"
> http://www.w3.org/TR/xpath#function-id
>

It requires that it be declared as an ID attribute; but it doesn't require
that the document be valid; therefore the ID attribute need not be unique.

Mike Kay


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member