Read inner block of tag from HTML using the xml reader?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi All,
I have HTML like
<html><br/>
<head> David</head><br/>
<body><br/>
<br/>
<b> I m david </b><br/>
<i> India </i><br/>
<br/>
<b> Do u know me</b><br/>
<br/>
<br/>
</html>
I need two separate blocks by using XmlReader in C#
1. Outer tag as the separate block which should have <b> I m david </b> <i> India </i> elements
2. Inner tag as the separate block which should have <b> Do u know me</b> elements.
3. Finally i should add the these two blocks to the collection one by one..
Simply could you please tell me the suggesstion how to fetch the inner block from the tag ?.
Help will be appreciated.
Regards,
David C

View the full article
 
Back
Top