Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   XML feed probs (http://www.greenguysboard.com/board/showthread.php?t=36925)

Fonz 2006-12-19 10:52 AM

XML feed probs
 
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 11:16 AM

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 03:13 AM

Thanks cd34, I'm taking a look at it right now :)

RamCharger 2006-12-26 10:48 AM

if you're looking for more xml info try xml.com


All times are GMT -4. The time now is 10:20 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc