For my school project, i am thinking of using XML for my Shopping Cart application.

I'm a newbie to XML. AFAIK, XML can be used to store data and by using XSLT to format the output of the data and lastly, HTML pages to display the output to the user.

If i am going to implement a Shopping Cart application. I guess the use of database would be required to store the item attributes like id,name,prices,etc. With XML i will be able to store these data in elements, subelements. With the help of XSLT to format the output.

A few questions has been bothering me:
[list=1][*]How does the XML store and display data from a database? If i am using JSP?[*]Can XML replace programming technologies like ASP,JSP,ASP.NET etc...[*]IMO, will it be an overkill for a simple project? [/list=1]