• +91 9723535972
  • info@interviewmaterial.com

XML Interview Questions and Answers

XML Interview Questions and Answers

Question - 61 : -
Is there a way to describe XML data?

Answer - 61 : -

Yes, XML uses Document Type Definition (DTD) to describe the data.

Question - 62 : - What is Complex Element?

Answer - 62 : -

A complex element contain other elements or attributes and following are kinds of Complex Elements:

  • It has empty elements
  • It contain other elements
  • It contain only text
  • It contain both other elements and text

Question - 63 : - What is Simple Element?

Answer - 63 : -

A simple element contain only text and following are the kinds of Simple Element:

  • No attributes
  • Doesn’t contain other elements
  • It cannot be empty

Question - 64 : - Which XML is set to be valid XML?

Answer - 64 : -

When the XML file is validated against the Document Type Definition(DTD), then it is called valid XML. DTD is nothing but it defines the structure of an XML file.

Question - 65 : - What is XML Encoding?

Answer - 65 : -

XML documents may contain Non-ASCII characters like French and Norwegian characters. XML Encoding is used to avoid errors and XML files have to be saved as Unicode.

Question - 66 : - Why XML editor is needed instead of Notepad?

Answer - 66 : -

XML editors are required to write error free XML documents, and it is used to validate against DTD or schema. Editors are able to check:

• Open and Close Tags
• XML against DTD
• XML against Schema
• Color code on XML Syntax

Question - 67 : - What is XLink and XPointer?

Answer - 67 : -

XLink is the standard way of creating hyperlinks in the XML files. Xpointer which allows those hyperlinks to point to more specific parts of the XML file or document.

Question - 68 : - What is XQuery?

Answer - 68 : -

XQuery was designed to query XML data which is nothing but SQL for database tables. XQuery is used to fetch the data from the XML file.

Question - 69 : - What are nested elements in XML?

Answer - 69 : -

If one or more elements are nested inside the root element is called nested element. Nesting can be easy to understand and also keeps order in an XML document.

Question - 70 : - Why XSLT is important for XML?

Answer - 70 : -

XSLT is abbreviated as eXtensible Sytlesheet Language Transformation which is used to transform an XML document to HTML before it is displayed to the browser.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners