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 : 15
To select a particular node __________ is used

select
selectNodes
selectNode
selectedNodes

Question No : 16
To select all the names whose salary is above 10000 use

.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name

Question No : 17
To arrange names in descending order in XSL, use

Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc

Question No : 18
XML is preferred over HTML because

The GUI is embedded in the data
Searching for information in the data is tough
Data is tied to the logic and language of HTML
All of the above

Question No : 19
In XML tags can be closed in any order

True
False

Question No : 20
______ is used inXML documents to block off text that are to be side stepped by an XML parser

CDATA
<!-- -- >
//
/* */

Question No : 21
To stop processing external files in XML use

resolveExternal = false
resolve = false
resolvcExternal = false
resolveExternals = false