Re: [xmlc] getElementsByTagName in XHTML ?
Jacob Kjome <[email protected]> Thu, 11 Aug 2005 23:49:29 -0500
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1123822208-9830-0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
At 08:06 PM 8/11/2005 -0500, you wrote:
>At 11:27 PM 8/11/2005 +0200, you wrote:
> >Jacob Kjome p=ED=B9e v P=E1 05. 08. 2005 v 10:46 -0500:
>I guess I'm still unclear on the results, though. I suspected that you
>were mistakenly reporting this because you had stated that you expected t=
he
>results to be children of the current tag, plus the current tag
>itself. That's clearly wrong. It should only be the children. So, you
>say you tested this? What were your results? More below...
>
> >> If you were to do node.getElementsByTagName("td") and the
> >> current node is a "td", I wouldn't expect to have any results returned
>unless
> >> you were using nested tables.
> >
> >well of course I did node.getParentNode().getElementsByTagName("td").
>
>Which, again, unless you were using nested tables, would return an empty
>node list so it would be pretty pointless to do.
>
Whoops, I meant a nodelist of 1 element which, of course, is the original=
=20
node that you already had a handle on. That's why it's pointless, not that=
=20
it would return an empty list, but a list of 1 node which you already knew=
=20
about, so why bother?
Jake=20
------------=_1123822208-9830-0
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------=_1123822208-9830-0--