Click here to Skip to main content
15,900,396 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI

I want to get the html content of an html file and modify some areas (actually I want to translate the text in the html page )and then REBUILD the new html file out of my modified DOM tree.Can anybody please show me the way how I can do that ?I have found html DOM parsers,but they dont regenerate the modified html file for me .they just give me the DOM and I can modify the text nodes to things which I want but I can not have the new html file.

I don't want to use .net framework. Just VC++ is approved.
CAn anyone help me with this content ?I 'm really confused!:(

I found

http://www.ibusy.com/boost-htxml-library.html


Can anyone help me with this?seems to be relevant ,But I don't know anything about BOOST ,How should I install boost on my 2008 ?I have downloaded the files but I don't know what to do ?:confused:
Posted
Updated 12-Jan-10 0:44am
v8

Hi again everybody ,


I finally found the solution! :laugh:
I used Boost htxml library (many many thanks to the author :rose:)
the library supports almost everything I needed for y project.


wish u all best ;)
Mehrnaz.
 
Share this answer
 
Have you tried the HTML Agility Pack[^]? I think that supports modifying and re-writing the DOM.
 
Share this answer
 
Thank you Simon for ur reply but I don't want to use .net framework .just VC ++ is approved .
in addition notice that I want to have .html file both as input and output of my project .
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900