30+ XML Interview Questions and Answers - 1

Question: 1

Define XML?

The Extensible Markup Language (XML) was developed in 1996 by the World Wide Web Consortium’s (W3C’s) XML working group.

XML is a widely supported open technology for describing data that has become the standard format for data exchanged between applications over the internet.

Question: 2

What is the advantage of XML?

XML is simple, platform independent and is a widely adopted standard.

The power of XML is that it separates the user interface from the structured data.

This separation of data from presentation enables the integration of data from diverse sources.

Question: 3

What are the two ways to represent the XML?

The XML is represented in two basic ways:

External document containing embedded data.

In-memory tree structure known as Document Object Model (DOM)

Question: 4

What are the restrictions in the Xml serialization?

There are some restrictions when applying XML serialization to a class. They are:

Only the public property or field can be serialized.

The class must contain a public default constructor.

Question: 5

What is the use of C Data?

It designates that the element is not to be parsed.

Related Questions