472,131 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,131 software developers and data experts.

Cannot view XML input using style sheet.

Hi

I deleted my massenger history files xml and i could recover them full size but when i open then i get this error massage :

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

An invalid character was found in text content. Error processing resource 'file:///H:/Hesham/


so any ideas how i can correct this error

Thanks
Mar 26 '10 #1
7 7307
rski
700 Expert 512MB
Did you open the file in text editor?
Did you try to parse it with any xml-validating tool?
Mar 26 '10 #2
No how can i do that ?
do u mean text editor live view-source that opens the file in note pad ??

Thanks
Mar 26 '10 #3
rski
700 Expert 512MB
I deleted my massenger history files xml and i could recover them full size
That's mean you have an xml file somewhere, right?
Find it and open with notepad for example. XML is a text format there shouldn't be any problems with opening it. Maybe you'll find here any 'strange' characters.
To parse XML file you can try to use a browser (IE, Forefox etc), most of browser have XML parsers. If the file has errors browser will tell you that.
Mar 26 '10 #4
yes , i get stange chars when i open it in note pad and i get the said error massage when i open it in IE .
Mar 26 '10 #5
rski
700 Expert 512MB
How did you recover the deleted file? It looks that the recovery process was failed.
Mar 26 '10 #6
i used rocovery software,
maybe but i got the files full size ,mostly when the recovery fails i get the file 0 bayts size
Mar 26 '10 #7
rski
700 Expert 512MB
Look into the file once again, maybe garbage are only at the start of the file.
Look for string "<?xml" which is the beginning for most xml files.
Maybe you will be able to get the full xml file from here (remember xml file is text file).
Mar 26 '10 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by rathnesh | last post: by
6 posts views Thread by Liam Gibbs | last post: by
1 post views Thread by ericvdb | last post: by
3 posts views Thread by Brad | last post: by
reply views Thread by Luqman | last post: by
7 posts views Thread by George Jordanov Ivanov | last post: by
1 post views Thread by ninja | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.