XML code in a tabular format.

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>

Ans. The tabular representation of the above mentioned code is shown

as follows:

au_id au_lname au_fname

648-92-1872 Alam Mehboob

238-95-7766 Kumar Vijay

427-17-2319 Gill Dipika

213-46-8915 Atreya Arsh

527-72-3246 Bisht Diya

472-27-2349 Saxena Puneet

846-92-7186 Joshi Lalit

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: