Exam 25: XML

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

Which of the following represents the declaration of a DTD contained within the XML document?

(Multiple Choice)
4.8/5
(38)

Given the following code, what will the XPath /items/item[0]/quantity select? Given the following code, what will the XPath /items/item[0]/quantity select?

(Multiple Choice)
4.8/5
(35)

The inclusion of a DTD in an XML document allows you tell the parser to validate the document.The ___________ method of the DocumentBuilderFactory class allows you to turn on validation.

(Multiple Choice)
4.9/5
(41)

The package javax.xml.parsers contains:

(Multiple Choice)
5.0/5
(37)

The #PCDATA rule means ____________.

(Multiple Choice)
4.8/5
(31)

A _____________ reads and reports on each element of an XML document as it reads it.

(Multiple Choice)
4.8/5
(42)

What kind of object do you need to create a new, empty XML document?

(Multiple Choice)
5.0/5
(30)

An element that is declared as _______ in a DTD may not have any children.

(Multiple Choice)
4.9/5
(34)

Given the following DTD expression, which section element is valid? Given the following DTD expression, which section element is valid?

(Multiple Choice)
4.8/5
(43)

You set element attributes with the _________method.

(Multiple Choice)
4.8/5
(26)

Which parser gives you an overview of the complete document so you can analyze it?

(Multiple Choice)
4.9/5
(33)

Which of the following statements is correct?

(Multiple Choice)
4.9/5
(40)

Assuming that path is properly instantiated object of type XPath and doc is the document below, what is the value of result in the statement Assuming that path is properly instantiated object of type XPath and doc is the document below, what is the value of result in the statement

(Multiple Choice)
4.8/5
(29)

Using the grammar notation in your textbook, which rule means that a verb can be either jumps over or eats?

(Multiple Choice)
4.8/5
(38)

To write a DOM document, you need to use an object that implements the _________ interface.

(Multiple Choice)
4.8/5
(35)

What kind of object do you need to read an XML document?

(Multiple Choice)
4.7/5
(36)

Which of the following XML fragments contains an error?

(Multiple Choice)
5.0/5
(42)

How does an XML document reference a DTD? i.The document may contain the DTD II.The document may refer to a DTD that is stored elsewhere III.The document may be set to the DTD

(Multiple Choice)
4.9/5
(36)

The XML encoding & is the replacement for the ____ character.

(Multiple Choice)
5.0/5
(39)

What package will you use to import Document?

(Multiple Choice)
4.9/5
(41)
Showing 21 - 40 of 74
close modal

Filters

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