How to create an XML Document? Explain it with example.

How to create an XML Document? Explain it with example.

<p>We you again in XML we can create our own tags.I have given you a XML example 
given below.<br>
Example:<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br>
&lt;note&gt;<br>
&lt;to&gt;abhi&lt;/to&gt;<br>
&lt;from&gt;vivek&lt;/from&gt;<br>
&lt;heading&gt;Welcome&lt;/heading&gt;<br>
&lt;body&gt;Hi! R4R Welcomes you.At this Place you can check or improve your 
intelligency. &lt;/body&gt;<br>
&lt;/note&gt;<br>
When we see this code we can easily understand that vivek send a message to 
abhi.Because we uses to and from self defined tags. <br>
&nbsp;</p>

By:Vivek
Date:2014-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related XML Subjective Links

XML Subjective interview questions and answers for experienced and fresher