Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

XML%20Interview%20Questions%20and%20Answers

Question: Where should I use XML?
Answer:

Its goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML.

XML has been designed for ease of implementation and for interoperability with both SGML and HTML.

Despite early attempts, browsers never allowed other SGML, only HTML (although there were plugins), and they allowed it (even encouraged it) to be corrupted or broken, which held development back for over a decade by making it impossible to program for it reliably. XML fixes that by making it compulsory to stick to the rules, and by making the rules much simpler than SGML. 
But XML is not just for Web pages: in fact it's very rarely used for Web pages on its own because browsers still don't provide reliable support for formatting and transforming it. 
Common uses for XML include:
  • Information identification: because you can define your own markup, you can define meaningful names for all your information items. 
  • Information storage: because XML is portable and non-proprietary, it can be used to store textual information across any platform. Because it is backed by an international standard, it will remain accessible and processable as a data format.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook