homepage Welcome to WebmasterWorld Guest from 54.166.111.111
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Can someone check the validity of an xml file?
Gemini23




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

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.

Geminineil

 

httpwebwitch




msg:4221173
 4:01 am on Oct 24, 2010 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved