Click here to Skip to main content
15,919,613 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: text nodes Pin
llp00na2-Mar-06 0:26
llp00na2-Mar-06 0:26 
GeneralRe: text nodes Pin
Stephen Hewitt2-Mar-06 0:42
Stephen Hewitt2-Mar-06 0:42 
GeneralRe: text nodes Pin
llp00na2-Mar-06 1:13
llp00na2-Mar-06 1:13 
GeneralRe: text nodes Pin
Stephen Hewitt2-Mar-06 1:42
Stephen Hewitt2-Mar-06 1:42 
GeneralRe: text nodes Pin
llp00na2-Mar-06 4:53
llp00na2-Mar-06 4:53 
GeneralRe: text nodes Pin
llp00na2-Mar-06 5:27
llp00na2-Mar-06 5:27 
GeneralRe: text nodes Pin
Stephen Hewitt2-Mar-06 11:26
Stephen Hewitt2-Mar-06 11:26 
GeneralRe: text nodes Pin
llp00na2-Mar-06 23:30
llp00na2-Mar-06 23:30 
Thanx for you reply and infinite patience;

I am parsing an html DOM tree and trying to extract text with no tags (lets call it: text node or free text).

The way i approached this problem is as follows:

1-I have implemented an internet explorer web browser (the usual way, by adding a microsoft web browser control into my MFC application).
2-I am retrieving the IHTMLDocument2 interface from the IWebBrowser2 interface.
3-I have then retrieved the body element from the IHTMLDocument2.
4-I am looping through the html elements of the body and assessing whether a specific element is a text node (free text) or not.

What do you think ?
Thank you again steve

llp00na
GeneralRe: text nodes Pin
Stephen Hewitt3-Mar-06 0:42
Stephen Hewitt3-Mar-06 0:42 
GeneralRe: text nodes Pin
llp00na3-Mar-06 4:09
llp00na3-Mar-06 4:09 
GeneralRe: text nodes Pin
Stephen Hewitt3-Mar-06 19:18
Stephen Hewitt3-Mar-06 19:18 
GeneralRe: text nodes Pin
llp00na4-Mar-06 5:41
llp00na4-Mar-06 5:41 
GeneralRe: text nodes Pin
Stephen Hewitt4-Mar-06 15:00
Stephen Hewitt4-Mar-06 15:00 
GeneralRe: text nodes Pin
llp00na5-Mar-06 1:38
llp00na5-Mar-06 1:38 
GeneralRe: text nodes Pin
Stephen Hewitt4-Mar-06 15:56
Stephen Hewitt4-Mar-06 15:56 
GeneralRe: text nodes Pin
llp00na5-Mar-06 6:28
llp00na5-Mar-06 6:28 
Questioncgi mailer ---- giving troubles Pin
deepak11-Mar-06 12:12
deepak11-Mar-06 12:12 
AnswerRe: cgi mailer ---- giving troubles Pin
Vasudevan Deepak Kumar2-Mar-06 19:31
Vasudevan Deepak Kumar2-Mar-06 19:31 
GeneralRe: cgi mailer ---- giving troubles Pin
deepak15-Mar-06 9:06
deepak15-Mar-06 9:06 
QuestionGetting a list of links in an html file Pin
imadoki1-Mar-06 9:09
imadoki1-Mar-06 9:09 
AnswerRe: Getting a list of links in an html file Pin
Vasudevan Deepak Kumar1-Mar-06 22:57
Vasudevan Deepak Kumar1-Mar-06 22:57 
QuestionNeed javascript code!!Urgent Pin
Sushant_Mathur1-Mar-06 4:16
Sushant_Mathur1-Mar-06 4:16 
QuestionRe: Need javascript code!!Urgent Pin
nicko1-Mar-06 14:35
nicko1-Mar-06 14:35 
AnswerRe: Need javascript code!!Urgent Pin
Vasudevan Deepak Kumar1-Mar-06 22:56
Vasudevan Deepak Kumar1-Mar-06 22:56 
QuestionHow to implement transactions in Biz logic layer in 3 tier arch. Pin
Ravi_Vaswani28-Feb-06 22:30
Ravi_Vaswani28-Feb-06 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.