Thx for the code. But it worked for only one time. And from next time same error isappearing.
Required white space was missing. Error processing resource 'http://localhost/WebApplication1/WebForm1.aspx'. Line 2, Posi...
"Bjoern Hoehrmann" wrote:
> * Ram wrote in microsoft.public.dotnet.xml:
> >thx for the help. but still i have errors with displaying the xml
> >document in asp.net. the following error is appearing when I am
> >trying to display xml content.
> >
> >"Required white space was missing. Error processing resource
> >'http://localhost/WebApplication1/WebForm1.aspx'. Line 2, Posi...
> >
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">"
>
> That's not an XML document then. For XML documents, a so-called system
> identifier would be required, e.g.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >
> So, after the second " in your document the processor expects a
> whitespace followed by a quote mark, which it does not find and
> thus aborts processing the document. It seems that you are trying
> to process a HTML document, you cannot do that using an XML processor.
> Try converting the document to XHTML e.g. using HTML Tidy which you
> will find at <
http://www.w3.org/People/Raggett/tidy/>. I am also told
> that the SgmlReader package you can find on GotDotNet.com provides
> similar functionality.