The XML tags that produced what is on the left looks like this:
<inv:inventory_purchases> <inv:message> This is a sample of office supply purchases for a small tax practice. The future is XML, so Crystal Computer Concepts is getting ready now for future XML development. The XML name space convention is used for writing in XML code. Specifically, the name space is written as xmlns:inv ="http://crystalcomputerconcepts.com/inv" </inv:message> <inv:item> <inv:description>Ink Cartridges-Black</inv:description> <inv:purchase_date>Date: 2/3/2007 </inv:purchase_date> <inv:item_quantity>Quantity: 3 </inv:item_quantity> <inv:item_cost>Cost: $24.50</inv:item_cost> <inv:purchase_date>Date: 6/10/2007</inv:purchase_date> <inv:item_quantity >Quantity: 5 </inv:item_quantity> <inv:item_cost>Cost: $24.75</inv:item_cost> </inv:item> <inv:item> <inv:description>Paper per ream </inv:description> <inv:purchase_date>Date: 1/15/2007</inv:purchase_date> <inv:item_quantity>Quantity: 20</inv:item_quantity> <inv:item_cost>Cost: $5.70</inv:item_cost> <inv:purchase_date>Date: 6/10/2007</inv:purchase_date> <inv:item_quantity>Quantity: 10</inv:item_quantity> <inv:item_cost>Cost: $4.75</inv:item_cost> </inv:item> <inv:item> <inv:description>Envelopes-Legal</inv:description> <inv:purchase_date>Date: 1/30/2007</inv:purchase_date> <inv:item_quantity>Quantity: 50</inv:item_quantity> <inv:item_cost>Cost: $1.00</inv:item_cost> <inv:purchase_date>Date: 7/15/2005</inv:purchase_date> <inv:item_quantity>Quantity: 50</inv:item_quantity> <inv:item_cost>Cost: $1.00</inv:item_cost> </inv:item> </inv:inventory_purchases>
This document is an example for tracking inventroy purchases.
It is an combining statment of both XML and HTML.
The file extension is "htm."
Caution: This XML is embedded in an HTML page.
It is recommened that the code never should be written like this
since it may appear in an IE browser only.
You should use JavaScript and XML DOM to parse and display XML in HTML.
XML Inventory Purchases
Please use the XML Request Function instead of the way this page illustrates.
Return to Table of Contents
DELAWARE'S MIDDLETOWN ODESSA AND TOWNSEND AREA