Case-based Critical Thinking QuestionsCase 12-1Casey is using XML to store information about the students in the science classes that he teaches. He wants to design a DTD that he can use to validate the XML documents that he uses for this purpose, and he comes to you for help. You tell Casey that he must declare the DTD using a DOCTYPE statement. Where should the DOCTYPE go?

A. before the XML declaration
B. within the XML declaration
C. after the XML declaration and before the document's root element
D. after the document's root element


Answer: C

Computer Science & Information Technology

You might also like to view...

C++0x will be

a. easier to learn b. better for building libraries c. more compatible with C d. all of the above

Computer Science & Information Technology

Find the errors in the following class and explain how to correct them:

``` class Example { public: Example( int y = 10 ) : data( y ) { // empty body } // end Example constructor int getIncrementedData() const { return data++; } // end function getIncrementedData static int getCount() { cout << "Data is " << data << endl; return count; } // end function getCount private: int data; static int count; }; // end class Example ```

Computer Science & Information Technology

Forgetting to enclose a string sent to ____________________ with quotation marks is a common programming error.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Use the ________ function to display the current date and time

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology