Question
Which of the following language defines the structure,
the legal elements and the attributes of an XML document?Solution
Why this is correct:
A DTD defines the permitted structure of an XML document (what elements are allowed, their nesting, and attributes). It’s one formal mechanism to define the grammar of an XML document. Why the others are wrong:
- 1 (XSL): Extensible Stylesheet Language, used for styling/transformation, not for defining XML grammar.
- 3 (CSS): Cascading Style Sheets — used for styling HTML/XML, not for structure/grammar.
- 4 (XSLT): XSL Transformations — used to transform XML documents (e.g., into HTML), not to declare XML structure.
6400, 1600, ?, 80, 16, 4
2, 2, 6, 30, ?, 1890
What will come in place of the question mark (?) in the following series?
34, 61, 7, ?, -20, 115
312, 302, 282, ?, 212, 162
150, 158, 131, 195, 70, ?Â
8Â Â Â 8Â Â Â 12Â Â Â 24Â Â Â Â 60Â Â Â Â Â ?
33, ?, 66, 82.5, 99, 115.5
97, 106, ?, 195, 411, 460
30          162        344        ?             890        1270
...What will come in place of the question mark (?) in the following series?
146, 122, ? , 74, 50, 26