Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP, XSD and XML 1

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
OK - So far I have learned about HTTP Basic Authentication and I am now at the point of rendering XML document.

I was given an XSD file which I figure is the Data Type Definition ... Honestly, I am no XML expert :->

Some of you have helped me with a couple of other question all involving this project - I now need to know this:

The XSD document is really mine to use as template/dictionary of how to format the XML document which will be pushed when a query is made via the web service I am writing. Correct?

If I am correct, then all I need to worry about is properly structuring the XML document and I do not need to push an XSD document with it. Correct?

I have spent all day online reading but I am at the point where too much reading and no enough information or not the one that I am looking for.

Help please!

Thanks

--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
isn't an xsd just the equivalent of an extended attribute dtd?
xslt is a stylesheet-type thing for xml. that might be considered to contain formatting directives.
but if the server wanted to dictate formatting then surely it would pass html? the fact that it is supplying xml suggests (to me) that you are free to format how you wish. the schema will give you the information about how each datum is associated.

don't get hung up on xml. if you post a sample we can show you easily how to transform it.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top