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.
The ratio of present boys to girls is 3:2. 10 girls are absent, which is 20% of the class. No boys are absent. Find the number of boys.
16Â Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â Â Â Â Â 1.5Â Â Â Â Â Â Â Â Â 1Â Â Â Â Â Â Â Â Â Â Â Â Â 1.875
...If the numerator of a fraction is increased by 60% and the denominator is decreased by 20%, then the value of the fraction becomes 21/16. Then tell the ...
When N is divisible by 5 the remainder is 2. What is the remainder, when n³ is divided by 5?
The sum of the digits of a two-digit number is 9. If 27 is subtracted from the number, its digits switch their places. What is the number?
In a two digit positive number, the digit in the unit’s place is equal to the square of the digit in ten’s place, and the difference between...
Determine the total no of odd factors of the number 4200.
The price of 3 mobiles and 6 pen drives is Rs. 9,000 and the price of 2 mobiles and 8 pen drives is also Rs. 9,000. What is the difference between the ...
The number 611611611611611611611 isÂ
Find the unit digit of (57 129 Â - 7).