Analyze XML document included in XML document auction.xml. Extend the document in the following way. Add a description of an item entitled "Vase and Stones". A description should consist of at least one statement describing the origins of an item. An element should contain only a number. The units of measurement should be represented in a different way. An element should contain information about currency. Add one more bid: price=3400, time=9:30:32, bidder=james, timestamp=1316. Add information about type of auction for each item. Add information about reserve price. Add information about the last names of bidders. Add information about reserve price. Add information about the last names of bidders. Assume information randomly with generic names
<?xml version="1.0" encoding ="UTF-8"?>
<AUCTIONBLOCK>
<ITEM>
<TITLE>Vase and Stones</TITLE>
<ARTIST>Linda Mann</ARTIST>
<DIMENSIONS>20x30 inches</DIMENSIONS>
<MATERIALS>Oil</MATERIALS>
<YEAR>1996</YEAR>
<DESCRIPTION/>
<PREVIEW-SMALL SRC="images/burl-s.jpg" WIDTH="300" HEIGHT="194" ALT="Vase and Stones"><!--The small image--></PREVIEW-SMALL>
<PREVIEW-LARGE SRC="images/burl.jpg" WIDTH="640" HEIGHT="413" ALT="Vase and Stones"/>
<BIDS>
<BID>
<PRICE>3300</PRICE>
<TIME>9:19:32 AM</TIME>
<BIDDER>John</BIDDER>
<TIMESTAMP>1315</TIMESTAMP>
</BID>
<BID>
<PRICE>3200</PRICE>
<TIME>8:18:31 AM</TIME>
<BIDDER>Andrew</BIDDER>
<TIMESTAMP>1308</TIMESTAMP>
</BID>
<BID>
<PRICE>3100</PRICE>
<TIME>2:48:08 PM</TIME>
<BIDDER>Chris</BIDDER>
<TIMESTAMP>1307</TIMESTAMP>
</BID>
<BID>
<PRICE>3000</PRICE>
<TIME>2:47:58 PM</TIME>
<BIDDER>opening price</BIDDER>
<TIMESTAMP>1298</TIMESTAMP>
</BID>
</BIDS>
<MTIME>
<TIMESTAMP>1315</TIMESTAMP>
</MTIME>
</ITEM>
</AUCTIONBLOCK>
-
Analyze XML document included in XML document auction.xml. Extend the document in the following way.
- Add a description of an item entitled "Vase and Stones". A description should consist of at least one statement describing the origins of an item.
- An element <DIMENSIONS> should contain only a number. The units of measurement should be represented in a different way.
- An element <PRICE> should contain information about currency.
- Add one more bid: price=3400, time=9:30:32, bidder=james, timestamp=1316.
- Add information about type of auction for each item.
- Add information about reserve price.
- Add information about the last names of bidders.
- Add information about the last names of bidders.
Assume information randomly with generic names
Step by step
Solved in 2 steps