XML schema or DTD available?

Is there a DTD or schema description for the XML file that can be generated by Sailwave? Does anyone have any experience parsing this file with PHP and could point me in the right direction?

THank you!
Doug Stumberger

What you planning to do with it? I had a look at the file and like most XML files it looks reasonably sensible!

HOWEVER - I *think* there is a missing tag at the top: <?xml version="1.0"?> I *think* and stress *think* as I'm far from expert with xml that has to be in all xml files. It also looks like the </results> tag is missing lots in the file I exported! (I exported an aliased dataset which may have been the cause of some problems)

But if those bits could be fixed I'd expect you could load it with PHP's XML parser: http://www.php.net/xml

I'm curious what you have planned :wink:

Calum

···

On Fri, 03 Jul 2009 17:39:04 -0000 "Doug Stumberger" <dstumberger@hotmail.com> wrote:

Is there a DTD or schema description for the XML file that can be generated by Sailwave? Does anyone have any experience parsing this file with PHP and could point me in the right direction?

THank you!
Doug Stumberger

I would imagine that you can plug a DTD into
something that understands DTD then auto import the XML. I’ll fix the
syntax - you are right - </results? is mising and other stuff.

CJ

Calum Polwart wrote:

···

dstumberger@hotmail.comhttp://www.php.net/xmlhttp://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinmailto:sailwave-digest@yahoogroups.commailto:sailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://docs.yahoo.com/info/terms/