Click here to Skip to main content
14,875,535 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
My website sitemap shows "This XML file does not appear to have any style information associated with it. The document tree is shown below." this sentence. I am not clear about it. Please tell me the problem and the possible solution?

What I have tried:

I have tried to solve the sitemap problem but failed.
Updated 23-Mar-21 16:11pm
Maicon Gabriel 21-Mar-21 12:19pm

That's not a problem you need to solve. You can create something called an XSLT file that translates xml into something else, like html, so the browser is simply telling you that there is no XSLT file referenced so it is going to show the data as raw xml. Only search engines will be accessing that file so the raw xml is all they are interested in.
Member 14515101 28-Jun-19 5:26am
Thank you. Can you tell me how to create XSLT file.
Member 14515101 28-Jun-19 5:41am
Thank you very much.
This isn't so much an error but a warning that the browser is unable to display the XML correctly. Without any formatting information the browser will display the XML as raw text. To display your XML in a formatted manner you will need to apply XSL formatting. You can embed this directly in your XML or separately in its own file (in the same way you embed CSS directly in your HTML or define it in its own file).
Member 14515101 28-Jun-19 5:41am
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900