Multiple choice technology programming languages

What is the first line in an XML Schema?

  1. <?xml version="1.0" encoding="utf-8">

  2. <?xml version="1.0"/>

  3. <xml version="1.0" encoding="utf-8">

  4. <?xml version="1.0"?>

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The correct XML declaration is . This is the standard first line in any XML document, including XML Schema documents. Option A is missing the closing question mark, Option B has incorrect syntax with encoding attribute malformed, and Option C uses instead of the processing instruction syntax xml.