Create an XML document to represent a message sent.

Q11. Create an XML document to represent a message sent on August 6, 2011 to Raju and Reena by Harmeet. The message is Welcome to Kogent PV.LTD>

Ans.

<?xml version=”1.0”>

<Message date=”8/6/2011”>

<SenderName>Harmeet</SenderName>

<Receivers>

<ReceiversName>Raju</ReceiversName>

<ReceiversName>Reena</ReceiversName>

<Receivers>

<BODY> Welcome to Kogent Pvt.Ltd </Body>

</Message>

Leave a Reply

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

%d bloggers like this: