CS 233S: Web Application Development II	Name:	
Assignment #7 Site Navigation	Date Due:	

In this seventh assignment, you will revisit using XML files in order to create automatic site navigation structures.
Part A: Text Reading	50 points
1.	Read Chapter 14 in the textbook. Read all of the pages – you are responsible for the knowledge in each section, even if you are not required to complete the coding. Note that there are several provided files in Blackboard that you will need to download or copy as starting data files. Before you begin:
•	Read the additional instructions in Blackboard: download and extract the linked .zip file, and import the items it contains as directed online.
2.	Follow the VB or C# directions for:
•	Page 643, Listing 14-2: begin a new file as shown, named chap14page1.aspx
•	Page 644, Listing 14-3: modify chap14page1.aspx; add the PathSeparator tag as shown.
•	Page 645, Listing 14-4: modify chap14page1.aspx; add formatting attributes to the PathSeparator.
•	Page 651, Listing 14-6: modify chap14page1.aspx; add the TreeView control
•	Page 652, Listing 14-7: modify chap14page1.aspx; use the Auto Format (as described in the paragraph before this listing) to apply the MSDN style.
•	Page 655, Listing 14-9: modify the chap14page1.aspx file; add a second TreeView control to the page that is bound an XMLDataSource control that points to the hardware.xml file.
•	Page 657. Listing 14-10: modify chap14page1.aspx; update the second TreeView control to display checkboxes and add the script to output the selected value(s) to the page.
•	Page 663, Listing 14-12: modify the chap14page1.aspx file; add the scripting and button controls to programmatically expand and collapse the second TreeView. Note that the you will need to change the book code where it references TreeView1 to the name of your second TreeView control.
•	Page 666, Listing 14-14: modify the chap14page1.aspx file; add the code needed to programmatically expand just a particular node in the second TreeView control. As before, change the book references to TreeView1 to the id of your second TreeView control.
•	Page 667. Listing 14-15: modify the chap14page1.aspx file; add the code to insert additional nodes to the second TreeView control. Replace the TreeView1 name with the id of your second TreeView control.
•	Page 670, Listing 14-16: create a chap14page2.aspx file as shown.
•	Page 671, Listing 14-17: modify the chap14page2.aspx file; use the controls Smart Tag to apply the Auto Format of your choice.
•	Page 673, Listing 14-20: modify the chap14page2.aspx file; change the orientation of the menu as shown.
•	Page 676, Listing 14-24: modify the chap14page2.aspx file; create a second menu control that is bound to the hardware.xml file through an XMLDataSource control. Make sure to use the id of your menu control in place of Menu1 in the event procedure shown.
•	Page 678, Listing 14-25: modify the chap14page2.aspx file; add the ShowStarting Nodes attribute to the SiteMapDataSource control.
•	Page 683, Listing 14-29: modify the chap14page2.aspx file; add the hyperlink controls shown and the code to populate them from the sitemap file.
•	Page 695, Listing 14-37: create the entertainment.sitemap file shown at the root level of your site.
•	Page 695, Listing 14-38: modify the web.sitemap file; add the siteMapNode shown at the same level as News, Finance, and Weather.
3.	Email or print the code view (including the code behind the page as needed) from:
•	
•	Chap14page1.aspx
•	Chap14page2.aspx
•	Web.sitemap
•	Entertainment.sitemap

Part B: On Your Own	50 points
1.	Create a sitemap file (or files) that represent, in text, the organization of pages within your project site. 
a.	For this assignment, you should have a minimum of 2 main nodes. At least one of those main nodes should have at least two child pages. 
b.	You are welcome to modify the sitemap after the fact to better fit your project goals.
2.	Create a navigation element for at least one of your project pages (possibly your master page?) that uses the sitemap file as its data source.
a.	The navigation element should make sense within the context of the page and the overall site
b.	All of the links in the navigation element should work (this may entail making sample pages with the correct file names and within the correct folder structure for your site)
c.	Experiment with the variety of formatting features available for your navigation element.
i.	Visual formatting
ii.	Depth of links
iii.	Template tags
iv.	Etc., etc.
3.	Zip your project folder, including the XML data stores and any custom images and email.