[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] Re: determining ID-ness in XML
- From: Michael Kay <michael.h.kay@ntlworld.com>
- To: 'Leigh Dodds' <ldodds@ingenta.com>, 'David Carlisle' <davidc@nag.co.uk>
- 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