Multiple choice technology web technology

The xs:sequence tag

  1. Specifies the sequence in which elements must appear in an XML schema

  2. Specifies the sequence in which elements must appear in an XML document

  3. Specifies the sequence in which attributes must appear in an XML document

  4. Specifies the sequence in which attributes must appear in an XML schema

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

The xs:sequence tag in XML Schema defines that child elements must appear in a specific order in the XML document instance. For example, xs:sequence containing xs:element name="first" then xs:element name="last" means the XML document must have first element before last element.