xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Le Hors <leh...@us.ibm.com>
Subject Re: how to quickly find an element (by attribute) in a DOM? any hints appeciated
Date Sat, 20 Jan 2001 01:07:57 GMT
Using an ID attribute is the way to go. But to be valid an ID must start
with a letter.
Don't ask me why, this is yet another annoying heritage from SGML...
But simply change id='1' to something like id='id-1' and everything will
be fine.

Well, actually your DTD has a problem too, the element event is declared
twice...
-- 
Arnaud  Le Hors - IBM Cupertino, XML Strategy Group

Mime
View raw message