CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2002
    Location
    Athens , Greece
    Posts
    151

    Good html tags parser?

    Hi there !
    Does anybody know where i can get the source code of a good
    html parser ?

    I want it to notice also the ' characters inside the " " characters.
    For example if the tag is
    <img src="mypic.jpg" onmouseover="window.status='aaaaa' "
    onmouseout='window.status="hello" ' >

    i want it to get the attributes of the img they should be

    src="mypic.jpg"
    onmouseover="window.status='aaaaa'"
    onmouseout="window.status=""hello"" "

    i used to use the HTML DOM from the MSHTML library of microsoft.
    But this does almost screw all tags and their attributes and they become useless.
    For example if <img src="mypic.jpg"> the
    img.src becomes
    img.src="about:blankmypic.jpg"

    microsoft did a lot to screw with this !

    Please help!
    Public Sub BUSH()
    Do while Not isEmpty(World)
    Kill World.Country(1)
    Loop
    End Sub

  2. #2
    Join Date
    Aug 2002
    Location
    germany
    Posts
    83
    these computers are making me drink beer!!!!!

  3. #3
    Join Date
    Aug 2002
    Location
    Athens , Greece
    Posts
    151
    i search but did not come out with something
    Public Sub BUSH()
    Do while Not isEmpty(World)
    Kill World.Country(1)
    Loop
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured