nerdexam
Microsoft

70-516 · Question #107

70-516 Question #107: Real Exam Question with Answer & Explanation

Sign in or unlock 70-516 to reveal the answer and full explanation for question #107. The question stem and answer options stay visible for context.

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application. A file named books.xml contains the following XML. <bib> <book title="Programming in Unix" year="1992"> <author>Author1</author> <author>Author2</author> <author> Author 3 </author> </book> </bib> The application must generate an XML result that contains an XML element named BookTitle for each book. The text content of the element must contain the title of the book. You need to create a query that generates the new XML result. What should you do?

Options

  • AXDocument document = XDocument.Load("books.xml");
  • BXDocument document = XDocument.Load("books.xml");
  • CXDocument document = XDocument.Load("books.xml");
  • DXDocument document = XDocument.Load("books.xml");

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-516 Practice