Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Can someone check the validity of an xml file?

10:19 am on Oct 21, 2010 (gmt 0)

Preferred Member

10+ Year Member Top Contributors Of The Month

joined:Aug 30, 2007
posts: 621
votes: 3

Hi, I am on online affiliate and as such have an xml feed to work with provided by my supplier and I have tried to upload it to Google but Google doesn't like it! Also can an xml feed have a .php file extension?

If anyone is able to have a quick look to see the xml file I could pm the url.

Many thanks for any help.

4:01 am on Oct 24, 2010 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

Yes, an XML feed can have any extension it wants. What matters is that the content is valid XML. It also helps if the content is served with an appropriate mimetype, like text/xml or application/xml

Easy way to check the validity of xml:

Grab the XML content from the supplier's feed, and save it as an XML file. Then attempt to open it in Internet Explorer. If the XML is valid, it will be displayed with collapsible nodes.

There are lots of other tools for validating XML, but that is likely the simplest. If it's invalid, Explorer will also complain with an error message telling you what is wrong with the document.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members