PHP class from XSD

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

PHP class from XSD

Post 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP class from XSD

Post 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".
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: PHP class from XSD

Post by yacahuma »

they = a client

I created classes from a wsdl before but not from an xsd
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP class from XSD

Post 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.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: PHP class from XSD

Post by yacahuma »

i guess xsd are like the matrix, after a while looking at it it makes more sense.
Post Reply