______ validates the XML document against the schema/DTD.
a)Parser
b)XSL engine
c)XML engine
d) Browser
Ans- a) Parser
Answers
Answered by
6
Answer:
parser
Explanation:
Answered by
0
Answer:
Parser validates the XML document against the schema/DTD.
Option(a) is the correct answer.
Explanation:
XML Parser is responsible for the validation of XML documents against the schema or DTD ie DOCUMENT TYPE DEFINITION.
- XML is quite different from HTML. Often people get confused between these two names. XML is used for sending the data from one place to another while HTML is used for giving the structure of the web page.
- Unlike the HTML, XML is case-sensitive. Upper case and lower case data are treated differently.
- So there is a need for a parser that can carry out this validation and check whether the document has the same document type definition as specified or not.
- If the XML document follows or meets the above-specified criteria then it is passed otherwise it is rejected by the parser.
#SPJ3
Similar questions