Page 1 of 1

PHP class from XSD

Posted: Wed Nov 12, 2008 6:57 pm
by yacahuma
Hello,

The they finally arrived. Someone gave me an xsd and I am supposed to use it to exchange information.
But, I have no idea what to do with it. I read about xsd and I believe with some effort I can create a class. But what is the correct way? What tools are available to automate the process? What is the normal flow of a developer when he receives an xsd?

Thank you

Re: PHP class from XSD

Posted: Wed Nov 12, 2008 7:14 pm
by requinix
What's the they?

XSD is like a specification. Understand it first, then start designing a class to handle it.
I don't think there's really a "normal flow of a developer" or that any "tools are available".

Re: PHP class from XSD

Posted: Wed Nov 12, 2008 8:10 pm
by yacahuma
they = a client

I created classes from a wsdl before but not from an xsd

Re: PHP class from XSD

Posted: Wed Nov 12, 2008 9:15 pm
by requinix
yacahuma wrote:I created classes from a wsdl before but not from an xsd
So give it a shot. Play around with it. See what you can come up with.

Re: PHP class from XSD

Posted: Thu Nov 13, 2008 7:56 am
by yacahuma
i guess xsd are like the matrix, after a while looking at it it makes more sense.