XML MCQ Quiz Hub

XML Mcq Question Set 5

Choose a topic to test your knowledge and improve your XML skills

1. XML is case sensitive




2. The correct tag is




3. var xmlDoc=new ActivexObject ("Microsoft.xmldom"); Here xmldom is




4. .cloneNode(false)




5. .cloneNode(True)




6. To insert a node use




7. Schema and DTD can be used together




8. _______ is used for comment in XML




9. DTD stands for Data Type Definition




10. Use _________ to specify an Attribute list




11. If DTD file is used, it always validates an XML file irrespective of how the XML file is retrieved




12. In Schema data type can be specified using




13. In Schema Attribute list can be set to any element




14. If two styles are mentioned as p{ color:blue } p.abc{ color:red } and paragraph tag is used as <p class=abc>Hello World</p> then




15. To select a particular node __________ is used




16. To select all the names whose salary is above 10000 use




17. To arrange names in descending order in XSL, use




18. XML is preferred over HTML because




19. In XML tags can be closed in any order




20. ___ is used inXML documents to block off text that are to be side stepped by an XML parser




21. To stop processing external files in XML use




22. A new node can be inserted anywhere in an XML file




23. If a node is replaced, it is reflected on the file itself




24. For internal DTD __________ is not required




25. Data type is applied in an XML file using




26. To retrieve a value stored in a attribute declared in a DTD file _________ is used




27. Schema follows




28. Cascading style sheet can be




29. To match a particular record use




30. To select the first node using XPointer use




31. _____ can be used to filter tags




32. __ is used to define the addressing mechanism while ________ is provides a standard way to use that mechanism in references




33. <? xml version="1.0"?> tag is mandatory




34. Latest version of XML is _______




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




36. _______ appends a child




37. .appendChild(newnode) can appends a node at any position




38. _______ replaces a child node




39. ______ removes a child node




40. To specify a list of Attributes in Schema use




41. Which one is used to mention the values Attribute list




42. In Schema to validate that an element can contain only Text use




43. If "centre" is an attribute of a tag, then in Schema use __________ to validate it.




44. The valid Schema tag is




45. Extension of a Schema file and an XML file is same




46. In DTD to specify an Attribute List use




47. In DTD to validate that a tag can have only text use




48. DTD follows




49. Elements from the HTML namespace are displayed as they would in ...............




50. An .................... block can be to embed a CSS style sheet within an XML document.