Hi all ,

I am trying to generate an html file using c# . Now , the idea is to
take an existing html , read another html file using the streamreader
class, then read the content between the <body></body>
in the second file , append this content to the existing body of the
first html file .

Now , the problem is , while reading the second file , it is possible
that the body tag may have some attribute like some style definition
or background color etc etc , and i do not know what that is. So what
would be the best approach to solve something like this ?

I already have a function  to get any string between two tags :

http://www.mycsharpcorner.com/Post.aspx?postID=15


But what if the tag itself is not constant?

Any help appreciated,

Regards,
Rhitam

Reply via email to