Questions and CORRECT Answers
What is a markup language? - CORRECT ANSWER - Markup languages are designed for
presentation of text in different formats, and it can also be used for transporting and storing data.
This markup language specifies the code for formatting, layout and style of data .This markup
code is called Tag.
HTML and XML are examples of Markup Language.
What is XML? - CORRECT ANSWER - XML is called Extensible Markup Language
which is designed to carry or transport and store data. XML tags are not as predefined as HTML,
but we can define our own user tags for simplicity. It mainly concentrates on storing of data, not
on displaying of data.
What are the features of XML? - CORRECT ANSWER - Main features of XML are:
• Very easy to learn and implement
• XML files are text files, and no editor is required
• Minimal and a limited number of syntax rules in XML
• It is extensible, and it specifies that structural rules of tags
HTML - CORRECT ANSWER - Markup language used to display data
Case Insensitive
Designing web pages
, Predefined Tags
Does not Preserve white spaces
Static
XML - CORRECT ANSWER - Markup language used to store data
Case sensitive
Used to transport and store data
Custom Tags
Preserve white spaces
Dynamic
Which tag is used to find the version of XML and the syntax? - CORRECT ANSWER -
Declaring the XML version is very important for each XML document and platform needs to be
specified in which it is running.
What is XML DOM Document? - CORRECT ANSWER - XML Document object
represents the whole XML document, and it is the root of a document tree. It gives access to
entire XML document - Nodes and Elements, and it has its own properties.
What is XPath? - CORRECT ANSWER - XPath is used to find information in an XML
document and contains standard functions. XPath is the major element in XSLT, and it is w3c
recommendation.