The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 364 Weeks Ago, 6 Days Ago |
| Questions Answered: | 1850 |
| Tutorials Posted: | 1850 |
Graduate in Biology and Nutrition, MBA Finance
Florida State University
Aug-2000 - Jul-2007
Ass. Relationship Manager
Penn-Florida
Mar-2009 - Feb-2016
Assignment Instructions
Instructions:
You are given the XML file assignment6.xml in the attachment
You are asked to create a program that uses LINQ to XML to display the contents of the above XML document. You may use the Elements methods, and other common traversal methods. However, as a catch, you should know the ontology of your document and prefix the content you display with descriptive prefixes related to data content. For example: Enterprise data exchange should be prefixed by Title. (See the start of Chapter 12 for examples.)
Â
You are not required to write a working LINQ and/or C#, VB program. If you are not comfortable writing code, you can write an essay to explain how it works instead.
Â
Hint:  https://msdn.microsoft.com/en-us/library/bb387061.aspxhttps://msdn.microsoft.com/en-us/library/bb943906.aspx (Please note, the textbook Chapter 12, may not provide the latest for all IDEs.)
 If using XElement in the latest version of Microsoft Visual Studio brings about errors, I suggested using the "System.Xml.Linq.XElement".<?xml version="1.0" encoding="UTF-8"?>
Â
-<movies>
Â
Â
-<movie>
Â
<title>Harry Potter and The Half-Blood Prince</title>
Â
<id>200900489</id>
Â
Â
-<actors>
Â
<main>Harry Potter</main>
Â
<supporting>Dobby</supporting>
Â
</actors>
Â
<year>2009</year>
Â
<rotten_tomato>3.5</rotten_tomato>
Â
</movie>
Â
</movies>
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I