简体   繁体   中英

HTML and JavaScript parser in .NET

I'm looking for a HTML and JavaScript parser in .NET.

After reading some posts it seems HTML Agility Pack is the best HTML parser approach but it lacks in documentation. I've found some examples of data extraction but almost none of data transformation.

Where can I find useful samples of data manipulation with HTML Agility Pack and what's the best choice of a JavaScript parser?

也许你正在寻找这样的东西: http//jint.codeplex.com/另类,我建议你看一下Microsoft.JScript: http//msdn.microsoft.com/en-us/library/72bd815a (v = VS.80)的.aspx

I would vote for the HTML Agility Pack. In my experience it doesn't need my documentation if you're familiar with System.Xml.XmlDocument -- it has a very similar API.

Sorry but I can't comment on a JS parser. Perhaps if you explained more about why you want to parse JS I could be of more help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM