An xml programmer has written a XML schema for employee. Among the following options only one is the correct schema, identify which one is correct?

<?xml version="1.0"?>
<xs:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema>
<xs:comlexType name="employee">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
<xs:complexType>
</xs:schema>

<?xml version="1.0"?>
<xs:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema>
<xs:comlexType name="employee">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

 

 

 

 

 

 

<?xml version="1.0"?>
<xs:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema>
<xs:comlexType name="employee">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:complexType>
</xs:schema>

 

 

 

 

<?xml version="1.0"?>
<xs:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema>
<xs:comlexType name="employee">
<xs:sequence>
<xs:element name="name" type="xs:string">
</xs:sequence>
</xs:complexType>
</xs:schema>

 

 

 

 

 

Verified Answer
Correct Option - b

To get all Infosys Certified Middleware Technologies Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram