<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS311 Assignment 3 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Assignment No. 03<br />
Semester: Fall 2019<br />
Introduction to Web Services Development – CS311	Total Marks: 20<br />
Due Date: 20-01-2020<br />
Lectures Covered: 16-28</p>
<p dir="auto">Objectives:<br />
Understand and get hands on experience on<br />
•	XML Parser<br />
•	XMLHttpRequest<br />
•	XML DOM<br />
•	XML Dom Nodes<br />
•	getElementsByTagName Method<br />
•	ChildNodes Property<br />
•	Displaying XML data in HTML file<br />
Instructions:<br />
Please read the following instructions carefully before submitting assignment:<br />
It should be clear that your assignment will not get any credit if:</p>
<p dir="auto">	The assignment is submitted after due date.<br />
	The assignment is submitted via email.<br />
	The assignment is copied from Internet or from any other student.<br />
	The submitted assignment does not open or file is corrupt.<br />
	It is in some format other than .html (HTML File).</p>
<p dir="auto">Note: All types of plagiarism are strictly prohibited.</p>
<p dir="auto">For any query about the assignment, contact at <a href="mailto:CS311@vu.edu.pk" target="_blank" rel="noopener noreferrer nofollow ugc">CS311@vu.edu.pk</a></p>
<p dir="auto">Carefully analyze the file “books_data.xml” (which is attached with the assignment file). Information of different books is given in this xml file which includes book name, book price, book author etc.<br />
Create an HTML file to display the “names” of books by parsing the response of “books_data.xml” in that HTML file with JavaScript using XMLHttpRequest Object.<br />
Sample Output:</p>
<p dir="auto">You can see sample output in “Sample Output.mp4” video attached with this assignment file.</p>
<p dir="auto">Assignment Uploading Instructions:<br />
	To make and test your code, you need to download Xampp Server from following link. <a href="https://www.apachefriends.org/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.apachefriends.org/index.html</a><br />
	After the installation of Xampp , you need to save your html file and “books_data.xml” file in the path given below<br />
C:\xampp\htdocs<br />
	To run your file type the address <a href="http://localhost/your_assignment_file.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost/your_assignment_file.html</a><br />
	Upload your assignment solution in .html file format on VULMS</p>
<p dir="auto">Please note that due date of assignment will not extend, so do not wait for last date and submit your solution as quickly as possible.<br />
Due Date: 20/01/2020<br />
BEST OF LUCK</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;BOOKS_LIST&gt;
  &lt;book&gt;
    &lt;name&gt;History of Pakistan&lt;/name&gt;
    &lt;price&gt;150&lt;/price&gt;
    &lt;author&gt;Abc&lt;/author&gt;
  &lt;/book&gt;

  &lt;book&gt;
    &lt;name&gt;French Revolution&lt;/name&gt;
    &lt;price&gt;300&lt;/price&gt;
    &lt;author&gt;XYZ&lt;/author&gt;
  &lt;/book&gt;

  &lt;book&gt;
    &lt;name&gt;Biographies&lt;/name&gt;
    &lt;price&gt;250&lt;/price&gt;
    &lt;author&gt;WSD&lt;/author&gt;
  &lt;/book&gt;

  &lt;book&gt;
    &lt;name&gt;Gulf Countries&lt;/name&gt;
    &lt;price&gt;150&lt;/price&gt;
    &lt;author&gt;ASD&lt;/author&gt;
  &lt;/book&gt;

  &lt;book&gt;
    &lt;name&gt;Haunted Stories&lt;/name&gt;
    &lt;price&gt;150&lt;/price&gt;
    &lt;author&gt;Abc&lt;/author&gt;
  &lt;/book&gt;
  
&lt;/BOOKS_LIST&gt;

</code></pre>
<p dir="auto"><a href="https://youtu.be/b-yRDLwJiRc" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/b-yRDLwJiRc</a></p>
]]></description><link>https://community.secnto.com//topic/1097/cs311-assignment-3-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 01:18:54 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/1097.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jan 2020 09:57:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS311 Assignment 3 Solution and Discussion on Thu, 23 Jan 2020 11:57:46 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://cyberian.pk/topic/1166/cs311-3-fall19-solution-file" target="_blank" rel="noopener noreferrer nofollow ugc">https://cyberian.pk/topic/1166/cs311-3-fall19-solution-file</a></p>
]]></description><link>https://community.secnto.com//post/3062</link><guid isPermaLink="true">https://community.secnto.com//post/3062</guid><dc:creator><![CDATA[cyberian]]></dc:creator><pubDate>Thu, 23 Jan 2020 11:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to CS311 Assignment 3 Solution and Discussion on Mon, 20 Jan 2020 10:03:44 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://i.imgur.com/IKRzDLV.gif" alt="CS311_XAMPP_2.gif" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/2885</link><guid isPermaLink="true">https://community.secnto.com//post/2885</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Mon, 20 Jan 2020 10:03:44 GMT</pubDate></item><item><title><![CDATA[Reply to CS311 Assignment 3 Solution and Discussion on Mon, 20 Jan 2020 10:01:21 GMT]]></title><description><![CDATA[<p dir="auto">Solution Idea!<br />
<img src="https://i.imgur.com/swMDxVI.png" alt="f94a1a8b-a6ad-4c4b-98b9-d7a2b6d69043-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/2884</link><guid isPermaLink="true">https://community.secnto.com//post/2884</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Mon, 20 Jan 2020 10:01:21 GMT</pubDate></item></channel></rss>