Machine-translated by Google. Questions are authored in English.
Top

Web Services and REST APIs Questions and Answers

1.

Which of the given options best describes the truthfulness of the following statements? i) XML schemas define datatypes for elements and attributes, while DTD doesn't support datatypes. ii) DTD are the declarations that define a document type for SGML. iii) In XML, Tag names can begin with a numeric value.

Exam Year(s)

DSSSB TGT - 2023,

Answer: A

Statements i and ii are true and iii is false. XML schemas define datatypes for elements and attributes while a DTD does not support datatypes, and a DTD is a set of declarations defining a document type, as it began with SGML. In XML a tag name cannot begin with a number, so statement iii, which says it can, is false. The options that mark iii as true, or i or ii as false, are therefore wrong. A document type definition lists the allowed elements and attributes of a document, and an XML schema does the same job with richer features such as datatypes.

Please log in or register to report this question.

Loading…
Tags: Web Services and REST APIs Questions and Answers || Web Services and REST APIs MCQ Questions and Answers || Web Services and REST APIs GK Questions and Answers || Web Services and REST APIs GK MCQ Questions || Web Services and REST APIs Multiple Choice Questions and Answers || Web Services and REST APIs GK || GK on Web Services and REST APIs || Web Technologies Questions and Answers || Web Technologies MCQ Questions and Answers || Web Technologies GK Questions and Answers || GK on Web Technologies