Write down the XML file with markup tags and some sample data to represent list of invoices. Write the XML tags for two invoices in list. Also, suppose invoices are created from database whose tables are shown in the following database relationship diagram.
The invoice header information is stored in table invoice. Invoice table is linked to lines, which hold many line items of invoice. Each line item is linked to product containing information on particular product, which in turn is linked to suppliers table where information on supplier of product can be found.