XML Interview Question and Answers

6. Give the uses of XML?
 
    XML, which provides a data standard that, can encode the content, semantics, and schemata for a wide variety of cases ranging from simple to complex, can be used markup the following
  • An ordinary document.
  • A structured record, such as purchase order.
  • An object with data and methods.
  • A data record, such as the result set of a query.
  • Meta content about a website such as an application user interface.
 
Your Name Your Email-ID
Your Answer
7. What platforms do .NET XML Web Services run on?
 
  • Currently, they are supported on Windows 2000 and Windows XP.
  • ASP.NET integrates with Internet Information Server (IIS) and thus requires that IIS be installed.
  • It runs on server and non server editions of Windows 2000 and XP as long as IIS is installed.
 
Your Name Your Email-ID
Your Answer
8. Is XML case–sensitive?
  Yes. XML tags are case-sensitive. The start and end tags should be matched exactly.
 
Your Name Your Email-ID
Your Answer
9. Can you configure a .NET Remoting object via XML file?
 
  • Yes, via machine.config and application level.config file (or web.config in ASP.NET).
  • Application level XML settings take precedence over machine.config.
 
Your Name Your Email-ID
Your Answer
10. What is the difference between HTML and XML?
 
    HTML and XML both are based on Standard Generalized Markup Language (SGML), but
  • HTML uses predefined tags, whereas XML uses user-defined tags which can be used to identify data relationships like hierarchical structure (elements, sub elements, subsubelements, and so on).
  • HTML specifies its representation, whereas XML identifies the content for the data.
  • Unlike HTML, XML tags are well-formed. XML data is searchable, format-free and reusable.
 
Your Name Your Email-ID
Your Answer
123456 Page 2 of 6