getElementById does not work on xml files

Sylvain Ferriol <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <zv2dnYHSBPqHuSPYnZ2dnUVZ_segnZ2d__31057.0229929455$1170089163$gmane$org@mozilla.org>
hi
if i try to select an element <foo id="toto" /> in 
getElementById("toto"), it do not work for xml file but it works if it 
is an html file

strange, no ?

sylvain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.