Parsing an HTML document

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

    #1

    Parsing an HTML document

    Is there an easy way to parse apart an HTML document? I've got a document
    that has text stuck in the body of the document and I want to pull it out.

    TIA.

    Jeffrey.


  • Larry Lard

    #2
    Re: Parsing an HTML document


    UJ wrote:[color=blue]
    > Is there an easy way to parse apart an HTML document? I've got a[/color]
    document[color=blue]
    > that has text stuck in the body of the document and I want to pull it[/color]
    out.

    I use htmlAgilityPack
    <http://blogs.msdn.com/smourier/archive/2003/06/04/8265.aspx> for all
    my HTML parsing needs :) Basically it converts supplied HTML into a
    nice XML document tree which you can then interrogate in the usual XML
    ways.

    --
    Larry Lard
    Replies to group please

    Comment

    Working...