Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 375 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 375 Bytes

TagParser

A tag-formatted document parser,mainly used to process HTML documents.

Getting started

using (TextReader reader = File.OpenText(@"C:\Test.html"))
{
    var parser = new TagParser(new ParseReader(reader));
    
    ParseToken token;
    while ((token = parser.GetNextToken()) != null)
    {
        Console.WriteLine(token.GetType().Name);
    }
}