Re: [xmlc] getElementsByTagName in XHTML ?

Petr Stehlik <[email protected]> Fri, 12 Aug 2005 08:43:25 +0200
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1123829039-9830-10
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Jacob Kjome p=ED=B9e v =C8t 11. 08. 2005 v 23:49 -0500:
>  > >>  If you were to do node.getElementsByTagName("td") and the
>  > >> current node is a "td", I wouldn't expect to have any results retur=
ned
>  > >
>  > >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.
>  >
>=20
> 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 th=
at=20
> it would return an empty list, but a list of 1 node which you already kne=
w=20
> about, so why bother?

I was so desperate that I tried even that. I mean I tried to press it to
return at least *something*. But it never returned anything but empty
list.

Petr




------------=_1123829039-9830-10
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

------------=_1123829039-9830-10--