ISRO Scientist/Engineer CSE 2015Web Technologies › Not yet assigned to a topic
ISRO Scientist/Engineer CSE 2015 PYQ: To declare the version of XML, the correct syntax is
To declare the version of XML, the correct syntax is
- A<?xml version='1.0'/>
- B<*xml version='1.0'/>
- C<?xml version="1.0"/>Correct answer
- D<xml version='1.0'/>
Answer
(C) <?xml version="1.0"/>
Approach
Recall the XML declaration (prolog) syntax: it is a processing instruction that begins with
<?xml and ends with ?>, and the version value must be enclosed in double quotes.Reviewed by ISRO IQ Editorial Team.