Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 450

New Post: MHT Read & Write

$
0
0

Hello,

I've been using this excellent html parser for a little while now and recently I have a requirement for reading and writing mht files. I had to massage the mht before loading it up into the aglity pack. Simple stuff like replacing strings like '3D' and the '=\x0d\x0a' with empty strings. The Agility pack would otherwise fail at the loading phase.

My question is: Do I need to massage the file before loading into the agility pack or are there switches I can configure? Also I have a requirement to locate elements based on their in-line style and wrap a div around them. When done, I need to write out a working (valid) mht file containing the modifications. I have been working off and on on the code for a couple of weeks now and not being able to modify the mht file which is bugging me.

Does anyone have/had a similar requirement and would you be so kind to share your findings with me on this topic?

Thanks in advance! 


Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>