Learning Support System
 
STUDENT
 
FACULTY
 
SCHOOL
 
SUPPORT
 
PUBLIC
 
SIGNUP
DAILY QUIZ
 
     
  M U L T I M E D I A    T E S T    S Y S T E M
 
Question of the Day for 12/13/2025
 
Subject: XML


Assume employee.xml is an xml document with prolog in the first line and then the root element in the second line. Based on the following code:

XmlNode theNode;
XmlDocument theDoc = new XmlDocument();
theDoc.Load("employee.xml”);
theNode = theDoc;


Write the code navigate to the root element?
  1. theNode = theNode.FirstChild;
  2. theNode = theNode.FirstChild.NextSibling;
  3. theNode = theDoc.FirstChild.NestSibling;
  4. theNode = theDoc.FirstChild;

Email Subscriptions: To receive Question of the Day via email, sign up for a student account and subscribe to the mailing lists of your choice on AP, SAT, and MCAT exams and college subjects.
     
 
Blog Posts    News Digest    Contact Us    About Developer    Privacy Policy

©1997-2025 ecourse.org. All rights reserved.