header1.html

Sunday 30 June 2013

XML Multiple Choice Questions(MCQs)


1.Which of the following is correct way to link XSLT to XML?
A.<?xml-stylesheet type="stylesheet" href="MyXSLT.xsl"?>
B.<?xml-stylesheet type="text/xsl" href="MyXSLT.xsl"?>
A.Both A&B
B.None of A&B
C.Only A
D.Only B
Click for answer 

D.Only B
2.XML tags should be in Lower case.True/False?
A.True
B.False
Click for answer 

B.False
3.Which one is correct ?
A.There is no requirement for an XML document to be valid in order to have an information set.
B.An XML document has an information set if it is well-formed
Click for answer 

B.An XML document has an information set if it is well-formed.
4.XML attributes must be quoted.True or False?
A.False
B.True
Click for answer 

B.True
5.Which of the following is valid xml element name?
A.<xmldocument>
B.<7table>
C.<$date>
D.<TableElement>
Click for answer 

D.<TableElement>
6.The following XML will work properly?
<birth date="30/06/2013">
MyBirthDate </Tempbirth> </birth>
A.Yes
B.No
Click for answer 

B.No;Tags are not well formed.
7.<birth date=30/06/2013>
MyBirthDate </birth>.Is this XML Tag is in Correct format?
A.No;attribute is not quoted
B.Yes
Click for answer 

A.No;attribute is not quoted
8.State True/False? "Main purpose of XML is to remove HTML."
A.False
B.True
Click for answer 

A.False