Click to See Complete Forum and Search --> : xml basic question


marked9
07-06-2010, 03:47 AM
Hello,

What does XML file do..? Is it an interface to read/write data from server/database?

Let's say, I have this web server http://www.mywebsite.com/something which is an xml file that I can see in my browser. Can I HTML POST to this page as per xml schema and read or write data?



Thanks

sohguanh
07-06-2010, 04:39 AM
Hello,

What does XML file do..? Is it an interface to read/write data from server/database?

Let's say, I have this web server http://www.mywebsite.com/something which is an xml file that I can see in my browser. Can I HTML POST to this page as per xml schema and read or write data?

Thanks

http://www.w3schools.com/xml/default.asp

w3schools is a very good site for introduction to most web related technologies. For more advanced introduction, there are other websites though.

marked9
07-06-2010, 05:08 AM
I have been reading the page, still not sure of it.
I have an xml page to which I post query in xml formal, and I got "HTTP/1.1 415 Unsupported Media Type" in return. So does that mean xml page can actually be used to post a query (xml formal) to read data?

Charles
07-06-2010, 09:10 AM
It doesn't do anything--mostly it just sits there wondering what to have for lunch. It's really no different from Comma Separated Values, CSV, in that regard.