logo       

Re: [xmlc] getElementsByTagName in XHTML ?: msg#00006

java.enhydra.xmlc

Subject: Re: [xmlc] getElementsByTagName in XHTML ?

Jacob Kjome píše v Čt 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 returned
> > >
> > >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
> node that you already had a handle on. That's why it's pointless, not that
> it would return an empty list, but a list of 1 node which you already knew
> 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




--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise