3707Chilkat HTML-to-XML .NEThttp://www.chilkatsoft.com/HtmlToXmlDotNet.aspHTML to XML conversion component. Converts any HTML document to well-formed XML to allow for the programmatic extraction of information (i.e. HTML scraping).
File-to-file HTML to XML conversion.
Memory-to-memory HTML to XML conversion.
Ability to convert character encoding during conversion process.
Flexibility in controlling how HTML entities are handled.
Automatically convert HTML entities to corresponding 8-bit characters.
Ability to drop all text formatting tags from the output.
Ability to drop/undrop specific tags from the output.ASP.NET > Scripts and Controls > HTML ManipulationOct 10, 2006Chilkat Software Inc
HTML to XML conversion component. Converts any HTML document to well-formed XML to allow for the programmatic extraction of information (i.e. HTML scraping).
File-to-file HTML to XML conversion.
Memory-to-memory HTML to XML conversion.
Ability to convert character encoding during conversion process.
Flexibility in controlling how HTML entities are handled.
Automatically convert HTML entities to corresponding 8-bit characters.
Ability to drop all text formatting tags from the output.
Ability to drop/undrop specific tags from the output.
Sometimes you will need to send static files over http using ASP.Net - for example if you want to control access to the file programmatically. Such tasks can be simply handled by Response.WriteFile(FileName) for plain html files, but there are two problems:
Response.ContentType is "text/html" by default. So if you want to write .gif images by ASPX, you have to set right Content-Type http header according to the file type (image/gif).
There is a good idea to handle at least Last-Modified and If-Modified-Since headers to reduce traffic and increase performance. Otherways, the file is sent each time.
I created a simple VB.Net support functions for this tasks.
1. GetContentType - returns content-type of a file from registry
2. DateFromHTTP - converts string date from http header (Fri, 09 Sep 2005 07:51:28 GMT format) to Date format
3. DateToHTTPDate - converts date to string format.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.