Log in

View Full Version : XML feed probs


Fonz
2006-12-19, 11:52 AM
Hi, I'm struggling with an XML feed that we are going to offer for one of the sites managed by the company I do my dayjob for.

When I put this http://www.thisislive.com/xml_offline.php through this validator: http://www.validome.org/validate I get a bunch of error messages saying most of the attributes aren't allowed.

Any care to tell me how it should be done?
Thanx :)

cd34
2006-12-19, 12:16 PM
you need to write (and reference) a DTD in the header of the xml that corresponds to the containers that you are using.

Tough to explain, but, browse this and you should be able to figure out 99% of what you need.

http://www.w3schools.com/dtd/

I would think you need to just define the containers that you are using. Now you see why everyone else bastardizes their xml to use the standard DTD. :)

Fonz
2006-12-20, 04:13 AM
Thanks cd34, I'm taking a look at it right now :)

RamCharger
2006-12-26, 11:48 AM
if you're looking for more xml info try xml.com