APPLICATION-ORIENTED QUESTIONS-XML

APPLICATION-ORIENTED QUESTIONS

Q1. Represent the following XML code in a tabular format:

<?xml version=”1.0” encoding=”utf-8”?>

<?xml-stylesheet href=”Style.css” type=”text/css”?>

<AuthorsList>

<Authors au_id=”648-92-1872”>

<au_lname>Alam</au_lname>

<au_fname>Mehboob</au_fname>

</Authors>

<Authors au_id=”238-95-7766”>

<au_lname>Kumar</au_lname>

<au_fname>Vijay</au_fname>

</Authors>

<Authors au_id=”427-17-2319”>

<au_lname>Gill</au_lname>

<au_fname>Dipika</au_fname>

</Authors>

<Authors au_id=”213-46-8915”>

<au_lname>Atreya</au_lname>

<au_fname>Arsh</au_fname>

</Authors>

<Authors au_id=”527-72-3246”>

<au_lname>Bisht</au_lname>

<au_fname>Diya</au_fname>

</Authors>

<Authors au_id=”472-27-2349”>

<au_lname>Saxena</au_lname>

<au_fname>Puneet</au_fname>

</Authors>

<Authors au_id=”846-92-7186”>

<au_lname>Joshi</au_lname>

<au_fname>Lalit</au_fname>

</Authors>

</authorslist>

Q2. Identify whether the following code is well-formed or not:

<?xml version=“1.0”

encoding=“UTF-8”

standalone=“yes”?>

Let&apos;s know the name, address, date of

birth, &amp; date of join of the employee

<Name> Petter Jones </Name>

<Address>house no 23, lane no 24,

Daryaganj, Delhi </Address>

<DOB>&lt;24/12/1987&gt;</DOB>

<DOJ>&lt;23/1/2010&gt;</DOJ>

</Employees>