Redbolt95

I was Sent a msn chat log.When i load it up in Windows Internet Explorer i get the message.

Cannot view XML input using XSL style sheet.

I was wondering how to read it.Ive looked at all the other posts but none of them have helped me.

Thank you for reading.



Re: XML and the .NET Framework Cannot view XML.

Joe Fawcett

I would try opening it in Notepad and see where the stylesheet it is looking for is located. It will be in an xml-stylesheet instruction near the top of the file. It sounds like it's a relative URL which cannot be resolved.




Re: XML and the .NET Framework Cannot view XML.

Redbolt95

Ive opened it up in a notepad..Its all in code.I know nothing about computers.

First 2 lines are:

< xml version="1.0" >
< xml-stylesheet type='text/xsl' href='MessageLog.xsl' >





Re: XML and the .NET Framework Cannot view XML.

Woody UK

That says it is an XML file and it is looking for the file MessageLog.xsl to process it.
If you have no file called MessageLog.xsl on your machine, it won't be able to use that.
However, the information should be pretty easy to see.
What are you hoping to get out of this file





Re: XML and the .NET Framework Cannot view XML.

Redbolt95

Sorry,This is what its like:

< xml version="1.0" >
< xml-stylesheet type='text/xsl' href='MessageLog.xsl' >
<Log FirstSessionID="1" LastSessionID="164" Archive="true"><Join Date="14/01/2007" Time="21:22:16" DateTime="2007-01-14T21:22:16.562Z" SessionID="1"><User FriendlyName="ashleyy"/><Text Style="color:#008000; ">ashleyy has been added to the conversation.</Text></Join><Join Date="14/01/2007" Time="21:22:18" DateTime="2007-01-14T21:22:18.062Z" SessionID="1"><User FriendlyName="Lucy"/><Text Style="color:#008000; ">Lucy has been added to the conversation.</Text></Join><Leave Date="14/01/2007" Time="21:22:18" DateTime="2007-01-14T21:22:18.109Z" SessionID="1"><User FriendlyName="Ad"/><Text Style="color:#800000; ">Ad has left the conversation.</Text></Leave><Message Date="14/01/2007" Time="21:22:31" DateTime="2007-01-14T21:22:31.593Z" SessionID="1"><From><User FriendlyName="Pace"/></From><To><User FriendlyName="if i knew u wer cumin id ave baked a cake,baked a cake!"/><User FriendlyName="Lucy"/><User FriendlyName="(*):)Leanne:)(*)(L)I love you Stew(L)Your my Perfect Prince Charming and my baby stewie:)(*)Leanne(L)Stew(*)"/><User FriendlyName="Daniel"/><User FriendlyName="ashleyy"/></To><Text Style="font-family:Comic Sans MS; font-weight:bold; color:#ff0000; ">hi</Text></Message><Leave Date="14/01/2007" Time="21:22:46" DateTime="2007-01-14T21:22:46.890Z" SessionID="1"><User FriendlyName="ashleyy"/><Text Style="color:#800000; ">ashleyy has left the conversation.</Text></Leave><Leave Date="14/01/2007" Time="21:22:59" DateTime="2007-01-14T21:22:59.500Z" SessionID="1"><User FriendlyName="if i knew u wer cumin id ave baked a cake,baked a cake!"/><Text Style="color:#800000; ">if i knew u wer cumin id ave baked a cake,baked a cake! has left the conversation.</Text></Leave><Message Date="14/01/2007" Time="21:23:11" DateTime="2007-01-14T21:23:11.625Z" SessionID="1"><From><User FriendlyName="(*):)Leanne:)(*)(L)I love you Stew(L)Your my Perfect Prince Charming and my baby stewie:)(*)Leanne(L)Stew(*)"/></From><To><User FriendlyName="Pace"/><User FriendlyName="Lucy"/><User FriendlyName="Daniel"/></To><Text Style="font-family:MS Shell D

THats what i get when i open it in notepad.Its a msn chat log i was sent it though msn.
i wish to read it but isnt there any way of reading easyer





Re: XML and the .NET Framework Cannot view XML.