musicgold
07-16-2010, 01:19 PM
Hi,
Is there a way to get innerText from all childnodes of a node quickly? I am using VBA.
A web page has a node "H1" which has several childnodes, some of them are "p" and some are "STRONG". I need to get the text in these nodes. I tried to use getelementsbytagname and getattribute methods, but it is getting too complex. Is there an easy way?
Thanks,
MG.
Is there a way to get innerText from all childnodes of a node quickly? I am using VBA.
A web page has a node "H1" which has several childnodes, some of them are "p" and some are "STRONG". I need to get the text in these nodes. I tried to use getelementsbytagname and getattribute methods, but it is getting too complex. Is there an easy way?
Thanks,
MG.