Hi!
I'm trying to parse an xhtml document like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
</title></head>
<body>
<dl>
<dt>NAME</dt><dd>VARIANTATTRIBUTE1</dd><dt>TYPE</dt><dd>STRING</dd><dt>VALUE</dt><dd>HEY</dd><dt>LOCKVALUE</dt><dd>31314D32444F2F485A4E6C414A47474B62734B53524 56F676A2F673D</dd><dt>HOME</dt><dd><a href="/v1/boards/DNUMBOARD05/wgs/01/variants/B1/attributes/VARIANTATTRIBUTE1">VARIANTATTRIBUTE1</a></dd><dt>VARIANT</dt><dd><a href="/v1/boards/DNUMBOARD05/wgs/01/variants/B1">B1</a></dd>
</dl>
</body>
</html>
The problem is that XmlDocument.Load("<!..."); tries to access the DTD and this takes ages. On the other hand, the browser can display this page quickly.
Is it possible at all to read this xhtml document offline?
Can I somehow tell the Document object the contents of the DTD? then I could store it as a string in the assembly.
Lots of Greetings!
Volker
--
For email replies, please substitute the obvious.