Home

XML Markup MCQ Question with Answer

XML Markup MCQ with detailed explanation for interview, entrance and competitive exams. Explanation are given for understanding.

Download XML Markup MCQ Question Answer PDF

Question No : 29
To match a particular record use

match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']

Question No : 30
To select the first node using XPointer use

...............…/nodename[0]
..................…/nodename[1]
.................…/nodename[0].nodes
..................…/nodename[1].nodes

Question No : 31
___________ can be used to filter tags

apply-templates
select
Any one of the above
Both of the above

Question No : 32
________ is used to define the addressing mechanism while ________ is provides a standard way to use that mechanism in references

XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink

Question No : 33
<? xml version="1.0"?> tag is mandatory

True
False

Question No : 34
Latest version of XML is _______

1.0
2.0
3.0
4.0

Question No : 35
In XML all attribute values must be quoted ie. center="MP"

True
False