Re: nodes duplicated in dom tree ?
- From: mnachtvogel@xxxxxxxxx
- Date: 28 May 2005 14:50:41 -0700
to show you an example I reduced the html source code to the minimum:
the text "Once in IE, twice in DomTree" is displayed once by the IE,
but stored twice in the DomTree. To my knowledge there is a missing
</form> tag, but that is not the reason for the problem.
first section shows the html source code
second section shows what I find in the DomTree. The first
character indicates if the domnode is expected (!) or if I do not
understand why there is a dom node (?).
There are two tables in the html source code and the second one
is represented twice in the DomTree.
maybe someone has wirtten an application that walks the dom and is
willing to cut and paste the html source code of section one into
a html file and verifies or falsifies my problem.
any help would be highly appreciated
mike
------------------------------------
first section, html source code
------------------------------------
<html>
<head>
</head>
<body>
<br><a name="Back to top"></a>
<table>
<tr>
<td>
<form>
<input type="hidden" name="act">
</td>
</tr>
</table>
<table>
<tr>
<td>
Once in IE, twice in DomTree
</td>
</tr>
</table>
</body>
</html>
------------------------------------
second section, domtree content
------------------------------------
!html
! head
! body
! br
! a
! table
! tbody
! tr
! td
! form
! input
! #text
? table
? tbody
? tr
? td
? #text "once in IE, twice in Dom
! table
! tbody
! tr
! td
! #text "once in IE, twice in Dom
.
- Follow-Ups:
- Re: nodes duplicated in dom tree ?
- From: mnachtvogel
- Re: nodes duplicated in dom tree ?
- References:
- nodes duplicated in dom tree ?
- From: mnachtvogel
- Re: nodes duplicated in dom tree ?
- From: mnachtvogel
- nodes duplicated in dom tree ?
- Prev by Date: Re: nodes duplicated in dom tree ?
- Next by Date: Re: Wait for refresh method to finish
- Previous by thread: Re: nodes duplicated in dom tree ?
- Next by thread: Re: nodes duplicated in dom tree ?
- Index(es):