Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am not understanding how to write XML. Someone help please. I will greatly app

ID: 3709396 • Letter: I

Question

I am not understanding how to write XML. Someone help please. I will greatly appreciate it.

Write an XML schema and XML document for a library book transaction, it should describe the following information:

n Librarian (Lender) Michael Calder lent book to borrower Craig Gavin on Oct 15, 2007

n The contact information of Michael Calder is: 41 McMahons Rd, Frankston, WI, tel: 9903 4563

n The contact information of Craig Gavin is: 56 Overport Rd, Karingal, WI, tel: 9903 3455

n Michael made a note: lender wants these books back in two weeks!

n The lent books are:

bookID

title

pubDate

replacementValue

maxDaysOut

123-4567-890

XML

Oct 20, 2001

15.95

14

123-4567-891

Artificial Intelligence

May 30, 2000

30.25

14

123-4567-892

Semantic Web

April 10, 2004

17.99

14

123-4567-893

Agent

June 10, 2005

11.95

14

bookID

title

pubDate

replacementValue

maxDaysOut

123-4567-890

XML

Oct 20, 2001

15.95

14

123-4567-891

Artificial Intelligence

May 30, 2000

30.25

14

123-4567-892

Semantic Web

April 10, 2004

17.99

14

123-4567-893

Agent

June 10, 2005

11.95

14

Explanation / Answer

Hi please find the XML below:

********************************************************************************************************************************

<?xml version="1.0" encoding="UTF-8"?>

<library>

<lender>

<name>Michael Calder</name>

<contact>41 McMahons Rd, Frankston, WI, tel: 9903 4563</contact>

<lend_date> Oct 15, 2007</lend_date>

<note>Lender wants these books back in two weeks!</note>

</lender>

<borrower>

<name>Craig Gavin</name>

<contact> 56 Overport Rd, Karingal, WI, tel: 9903 3455</contact>

</borrower>

<book>

<book_id>123-4567-890</book_id>

<title>XML</title>

<pub_date>Oct 20, 2001</pub_date>

<replacement_value>15.95</replacement_value>

<max_days_out>14</max_days_out>

</book>

<book>

<book_id>123-4567-891</book_id>

<title>Artificial Intelligence</title>

<pub_date>May 30, 2000</pub_date>

<replacement_value>30.25</replacement_value>

<max_days_out>14</max_days_out>

</book>

<book>

<book_id>123-4567-892</book_id>

<title>Semantic Web</title>

<pub_date>April 10, 2004</pub_date>

<replacement_value>17.99</replacement_value>

<max_days_out>14</max_days_out>

</book>

<book>

<book_id>123-4567-893</book_id>

<title>Agent</title>

<pub_date>June 10, 2005</pub_date>

<replacement_value>11.95</replacement_value>

<max_days_out>14</max_days_out>

</book>

</library>

***********************************************************************************************************

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote