Search code examples
asp.netscreen-scraping

How to convert xhtml to xml after screen scraping in asp.net?


How to convert the retrieved xhtml string to xml file? Are there any FCL libraries to do this?


Solution

  • At Ben's suggestion:

    XHTML is an XML-compliant refactoring of the HTML standard. So, by definition, if you've retrieved XHTML, you already have it in XML format. Is there something more specific you want to accomplish? Switch it to a different XML schema, maybe? You'll want to look at XSLT for that.