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.
A bag of cost price of Rs. 6000 is marked up by a certain percentage, and a discount percent of twice the markup percent is offered on it. If there is a...
A tradesman gives a 4% discount on the marked price and gives an article free for buying every 15 articles and thus gains 35%. Find out by what percenta...
The total price of 6 shirts and 5 trousers is Rs 3880 and the total price of 3 shirts and 2 trousers is Rs 1750. What is the total price of 3 trousers?
A Shopkeeper sold an article at 5% loss. If he had sold it for Rs. 350/- more, he would have made 20% profit, find the selling price of the article?
Cost price of an article M is Rs. 600 less than that of N. M and N are marked 50% and 20% above their cost price respectively. M and N are sold after a...
In a certain store, the profit is 320% of the cost. If the cost increases by 25% but the selling price remains constant, approximately what perce...
A shopkeeper marked his goods at 24.5% above the cost price, and sold them after giving two successive discounts of 20% and 50% for Rs. 249. Find the co...
A shopkeeper sold an article after offering two successive discounts of 20% and 30%, respectively. If the marked price and the cost price of the article...
A retailer purchased five articles and incurred some expenses on their transportation. Each article was sold at a markup of 50% above the original cost ...
A man bought a horse and a carriage for Rs. 80,000. He sold the horse at a gain of 10% and the carriage at a loss of 5%. He gained 1% on his whole trans...