Reading XML from webBrowser control

dassi_sx

New Member
I am trying to load the XML like this:\[code\]XmlDocument doc = new XmlDocument();doc.LoadXml(webBrowser1.DocumentText.ToString());\[/code\]I always get this an \[code\]XmlException\[/code\] thrown, with the message \[code\]Reference to undeclared entity 'nbsp'. Line 73, position 18.\[/code\] each time.Does anyone know what I am doing wrong and what I can do to prevent this, the XML page is dynamically generated each time using PHP and it reads cookies which have been added previously when the user is logged in.
 
Back
Top