.NET component
DOM of Html document - HTML Parser
Collection of Rules - CSS Parser

Html Parser .NET

• File formats: HTML, HTML, XML format.
• Stylesheets: CSS Parser.
• 100% managed .NET component.
• Royalty-Free. No extra cost for Server license.
• 6 Months: Free Support + Free Updates.
Evaluation Version
Download  |   Online Demo
Developer License - $59
Buy now  |   Price List

Skip Navigation LinksHtml Parser .NET > Css Parser

Html Parser .NET component




Learning Resources




News & Releases

May 13, 2016
Version 2.1 Update
Html Parser .NET component
December 15, 2015
Version 2.1 Update
Html Parser .NET component
April 12, 2013
Version 2.1 Update
Html Parser .NET component
January 06, 2013
Version 2.1 Update
Html Parser .NET component
October 10, 2012
Version 2.1 Update
Html Parser .NET component
July 19, 2012
Version 2.1 Update
Html Parser .NET component
June 01, 2012
Version 2.1 Update
Html Parser .NET component

CSS Parser

CSS parser is available only in PRO version and presents a collection of declarations and selectors for styles of HTML tags, classes, ids etc.

CSS Parser Features C# VB sample codes
DOM structure of collections of CSS selectors and declarations. C# | VB.NET
Getting declarations of specified class, identifier or html tag.
Save the resulted Cascading Style Sheet CSS with all user changes. C# | VB.NET
Render the CSS stylesheet as an HTML document.

Easy to use API

Html Parser .NET is designed and developed to provide with convenient object model and easy to use API. Consider the CSS stylesheet and code snippets that help to parse it.

  1. div a, h3 {
  2. font-family: Monospace;
  3. font-size: 12px;
  4. }
  5.  
  6. div#id5 {
  7. color : LightGreen;
  8. }
  9.  
  10. td.class1 {
  11. font-weight: bold;
  12. }
  13.  
  14. @import url("website.com/table.css");

The Css Parser allows to extract all elements of CSS style sheet. The table below demonstrates the main collections and properties of Css Document that is available a programmer to use.

C# Code Value
css.RuleSets[0].Selectors[0] div a
css.RuleSets[0].Selectors[0]
     .SimpleSelectors[1].ElementName
a
css.RuleSets[0].Declarations[1].Name font-size
css.RuleSets[0].Declarations[1].Expression 12px
css.RuleSets[1].Selectors[0]
     .SimpleSelectors[0].Child.ID
id5
css.RuleSets[2].Selectors[0]
     .SimpleSelectors[1].Child.Class
class1
css.Directives[0].Name @import
css.Directives[0].Expression url("website.com/ table.css")
css.Directives[0].Expression.Terms[0].Type Url
css.Directives[0].Expression.Terms[0].Value website.com/table.css

Css Parser Schema

Html Parser .NET LITE version

PRO version is a full featured parser of HTML and CSS files. In additional there is LITE version. Features that are not included in the LITE version:
  • CSS parser.
  • Creating and saving CSS files.
LITE Developer License - $ 59