From the docs that you claim to have read
" ... The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return null. "
Ah! reading! That ancient lost artform; this is the copy/paste age, people can't
read anymore. Reading wastes time; better ask vague questions everywhere
and hope that someone supplies you with the stuff to be copied and pasted.
Let other's waste their time; who cares.
If it works; fine; who cares *why* it works anyway? If it doesn't, come back and
complain; if no new copyable/pasteable replies follow; so be it. If they do: rinse
and repeat. What a beautiful 'information' society we live in.
I plea for the following software development methodology: there are two buildings:
one luxury building with all the fun and luxury but *no* development environments
there. Internet connections: yes; comfy chairs: yes; an abundance of coffee etc.:
yes; but no compilers, no debuggers, no nothing of the sort. A lot of pencils and
paper: yes.
When the software has been designed one has to migrate to that other building
where a lot of compilers, fast computers, debuggers etc. are available. But no
coffee, no internet connections, no comfy chairs, no nothing.
One is not allowed to leave that building until the designed software has been
implemented. That should teach those lazy analphabetic bums to read their own
notes, to read what those compilers have to tell them; to read runtime error
messages etc. Otherwise they're never allowed to leave that boring second building.
kind regards,
Jos