Re: OK, where'd you hide my freekin' Regex html -> text extractor?
From: Chris Hyde (chyde74_at_nodirecwayspam.com)
Date: 12/12/04
- Next message: Jimi: "re:VB.Net to C# Question"
- Previous message: Daniel Passwater via DotNetMonster.com: "C# serial connection problems"
- In reply to: _BNC: "OK, where'd you hide my freekin' Regex html -> text extractor?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 12 Dec 2004 01:53:27 -0500
_BNC wrote:
> The other way I could do this is to bring up a website (ala scraper) and
> somehow do the programatic equivalent of 'mouse drag capturing' the
> visible text into the clipboard. Not sure if that's easy to do though.
>
There is actually an easier way...use a tool like SgmlReader to convert
the HTML into XHTML, and you can then "query" for the data you want
using XPath expressions...
<a
href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=B90FDDCE-E60D-43F8-A5C4-C3BD760564BC">SgmlReader</a>
HTH...
Chris
- Next message: Jimi: "re:VB.Net to C# Question"
- Previous message: Daniel Passwater via DotNetMonster.com: "C# serial connection problems"
- In reply to: _BNC: "OK, where'd you hide my freekin' Regex html -> text extractor?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|