Parsing XHTML with C#

In my previous post I described how to load XML documents containing undeclared namespaces.

Of course, I did not have to wait too long for the next show-stopper to come up: As soon as a document contains an HTML entity (like   etc.), loading fails due to the undeclared entity.

I finally found some tips on entity resolvers in this article,  and a code fragment of how to embed entity declarations in .Net resources here.

One Response to “Parsing XHTML with C#”

  1. Introducing graspx « devioblog Says:

    [...] I have previously written about parsing XML/XHTML files with C# here and here. [...]

Leave a Reply