Answered You can hire a professional tutor to get the answer.

QUESTION

XML is a technology concerned with the description and structuring of data. XML document describes any information with flexibility structure.

XML is a technology concerned with the description and structuring of data. XML document describes any information with flexibility structure. For example, the following XML document describes a note to Tove from Jani with heading and content of the note.

<note>

  <to>Tove</to>

  <from>Jani</from>

  <heading>Reminder</heading>

  <body>Don't forget me this weekend!</body>

</note>

Your assignment is to construct the following XML documents to use in police reports describing user and review. The details of the reports are listed below.

User is a person who files a report. This XML document describes the person profile.

user(

    userID SERIAL,

    username varchar(255),

    password varchar(255),

    firstname varchar(255),

    middlename varchar(255),

lastname varchar(255),

    email varchar(255),

dob date,

    gender varchar(10),

profile_photo bytea,

home_phone varchar(50),

    cell_phone varchar(50),

    created_date timestamp default current_timestamp

);

Review is a review of a user. This XML document describes a review of a person who files a report for credibility of the report.

review(

    reviewID SERIAL,

    reviewDescription text,

    star double precision,

    userID serial references users(userID),

    created_date timestamp default current_timestamp

);

How do I go about creating these XML document with this information?

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question