Exam 25: XML

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following statements is correct?

(Multiple Choice)
4.8/5
(37)

A ___________ is a program that reads a document, checks whether it is syntactically correct, and takes some action as it processes the document.

(Multiple Choice)
4.8/5
(30)

The ____ standard defines interfaces and methods to analyze and modify the tree structure that represents an XML document.

(Multiple Choice)
4.7/5
(41)

In XML, an attribute has a name and a(n) ____________________.

(Multiple Choice)
4.9/5
(31)

In an attribute definition in a DTD, a V declaration means ____________.

(Multiple Choice)
4.9/5
(40)

An XPath describes a node or_______, using a syntax that is similar to directory paths.

(Multiple Choice)
4.7/5
(34)

What does DOM stand for?

(Multiple Choice)
5.0/5
(33)

To get a DocumentBuilder object, first call the static ____ method of the DocumentBuilderFactory class.

(Multiple Choice)
4.8/5
(41)

Suppose price is an element and currency is an attribute, to represent that a price element must contain currency, we must specify ____ .

(Multiple Choice)
4.8/5
(34)

In XML, a DTD is introduced with the ___________ declaration.

(Multiple Choice)
4.8/5
(36)

What package will you use to import DocumentBuilder?

(Multiple Choice)
4.8/5
(35)

What is one reason to have the DOM parser ignore white space in an XML document?

(Multiple Choice)
4.9/5
(36)

Which of the following attribute types describes any sequence of character in a DTD?

(Multiple Choice)
4.8/5
(33)

Given the following code, what will the XPath name(/items/item[2]/*[2]) generate? Given the following code, what will the XPath name(/items/item[2]/*[2]) generate?

(Multiple Choice)
4.8/5
(37)

Which of the following is true about HTML and XML?

(Multiple Choice)
4.9/5
(37)

To insert text, you need the _________methods.

(Multiple Choice)
4.7/5
(39)

Why is generating an XML file as a sequence of print statements not a good idea?

(Multiple Choice)
4.9/5
(37)

The XML standard recommends that every XML document start with ____.

(Multiple Choice)
5.0/5
(44)

Mixed content is ____________.

(Multiple Choice)
4.8/5
(40)

To generate an object of a class that implements the Document interface, you need a __________.

(Multiple Choice)
4.8/5
(39)
Showing 41 - 60 of 74
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)