I am new to XML. I always thought that XML is only for separate the data and display format. And I already did it by database and php, so why I need XML.
But after I getting to learn more XML, then I get the points.
Say if I want to save Order Information in my database, without XML. I have to define fields for code number, product name, price, quantity etc. One table field for each piece of information.
But with XML, I can save all these information in one field, called "order". And when I use it, I grab the xml format information from this one field, and covert it back to the code number, product name, price, quantity.
This way, database structure is more general. I don't have to add or delete table fields for diffferent customers. All I have to do is add or delete some XML contents in the only one field, "order".
I want to know if there is already a XML application (standard) for shopping cart / order information out there used by the general online business community.
So I don't have to define my one XML/XSL etc. If I use that standard one, I also can communicate with other companies' systems using the same XML/XSL sheets etc.
I am not sure if I am right on this thought and if I make myself clear.
As I said, I was new in XML. So please correct me if I am wrong.