HTML Parser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SEGACO

    #1

    HTML Parser

    Hi,

    Can someone tell me if C# includes something to parse HTML?

    Thanks.
  • Martin Honnen

    #2
    Re: HTML Parser



    SEGACO wrote:
    [color=blue]
    > Can someone tell me if C# includes something to parse HTML?[/color]

    The .NET framework SDK as provided by MS does not have an HTML parser
    but SgmlReader is a .NET implementation of an SGML parser that can be
    used to parse HTML. It is available here
    <http://www.gotdotnet.c om/Community/UserSamples/Details.aspx?Sa mpleGuid=B90FDD CE-E60D-43F8-A5C4-C3BD760564BC>


    --

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/

    Comment

    • SEGACO

      #3
      Re: HTML Parser

      Thanks this resolve my problem.

      "Martin Honnen" wrote:
      [color=blue]
      >
      >
      > SEGACO wrote:
      >[color=green]
      > > Can someone tell me if C# includes something to parse HTML?[/color]
      >
      > The .NET framework SDK as provided by MS does not have an HTML parser
      > but SgmlReader is a .NET implementation of an SGML parser that can be
      > used to parse HTML. It is available here
      > <http://www.gotdotnet.c om/Community/UserSamples/Details.aspx?Sa mpleGuid=B90FDD CE-E60D-43F8-A5C4-C3BD760564BC>
      >
      >
      > --
      >
      > Martin Honnen --- MVP XML
      > http://JavaScript.FAQTs.com/
      >[/color]

      Comment

      • Larry Lard

        #4
        Re: HTML Parser


        Martin Honnen wrote:[color=blue]
        > SEGACO wrote:
        >[color=green]
        > > Can someone tell me if C# includes something to parse HTML?[/color]
        >
        > The .NET framework SDK as provided by MS does not have an HTML parser
        > but SgmlReader is a .NET implementation of an SGML parser that can be
        > used to parse HTML. It is available here
        > <http://www.gotdotnet.c om/Community/UserSamples/Details.aspx?Sa mpleGuid=B90FDD CE-E60D-43F8-A5C4-C3BD760564BC>[/color]


        You might also want to look up HtmlAgilityPack , which is a dedicated
        HTML parser that will handle malformed (ie real-world) HTML probably
        better than a strict SGML parser.

        --
        Larry Lard
        Replies to group please

        Comment

        Working...