IXJ LT
1.The __________ consists of interfaces such as Node, Document, NodeList, Element, Attr, and Text.
DOM API
2.The ________ document is modified by the methods createDocumentFragment() and ceateCDATASection() defined in Document interface.
DOM
3.Which of the following statements about the TypeInfoProvider are true?
2, 3, 4
4.Which method of Text interface is used to split a text node into two nodes at a specified offset?
splitText()
5. What is the purpose of the getSpecified() method of Attr interface?
Checks whether an attribute exists or not
6. Which of the following methods of DefaultHandler class retrieves the notification of processing an instruction?
processingInstruction()
7. Which of the following are the benefits of XML parsing?
1, 2, 3, 4
8. Which of the following languages are predecessors of XML language?
1, 2
9. Which of the following are true about JAXP API?
1, 3, 4
10. Which of the following packages in the JAXP API provides mapping from XML to Java?
javax.xml.datatype
11. Which of the following interfaces implemented by the parser writers is used to register users for handling callbacks?
Parser
12. Which of the following are the standard classes provided by SAX?
1, 2
13. Which of the following DOM interfaces provides the primary data type for the entire document structure?
Node
14. TrAX consists of which of the following classes?
1, 2, 3
15. Which of the following interfaces of TrAX reports an error that would have occurred in the source document or transformations instructions?
SourceLocator
16. Which of the following are the merits of SAX parser?
1, 2, 4
17. Which of the following is not a package present in JAXP for SAX?
org.xml.sax.ent
18. The ____________ class is used for creating objects of the Transformer and Templates classes.
TransformerFactory
19. All the subordinate nodes of a node are known as _________.
Descendents
20. The __________ is responsible for creating schema objects.
SchemaFactory
21. The JSP page can format the XML generated from a database using ___________.
XSLT
22. The classes and interfaces in ________ are used for parsing and transforming XML documents irrespective of a specific XML processing implementation.
JAXP
23. SAX parser handles entities by the use of __________.
Entity interface
24. Types of fatal errors handled by non-validating SAX parsers are:
Fatal errors
Non-fatal errors
Warnings
25.Information concerned with the content of XML instead of the XML's content information itself is known as ___________
Lexical information
Bạn đang đọc truyện trên: Truyen247.Pro