Hey,
Is there a similar parser for HTML thats like, say XPath.*, im currently doing regex like:
Which is obviously a) lame b) wont work on all layouts
I basically just want to pick out the href if certian attributes in <link .. > match, i cant pass it to the xml parser because html is more liberal and less strict than xml...
Is there a similar parser for HTML thats like, say XPath.*, im currently doing regex like:
Visual Basic:
Dim strLinkRSSPattern As New String("<link.*?" + _
"type=""application/rss\+xml""" + _
"\stitle=""RSS""\shref=""(.+?)"".*?>")
Which is obviously a) lame b) wont work on all layouts
I basically just want to pick out the href if certian attributes in <link .. > match, i cant pass it to the xml parser because html is more liberal and less strict than xml...