MCQs > IT & Programming > XML > Analyze the following XML schema fragment: Which of the following is a valid XML document according to the schema above?

XML MCQs

Analyze the following XML schema fragment:
<xs:element name="name" type="xs:string" block="substitution"/>
<xs:element name="navn" substitutionGroup="name"/>
<xs:complexType name="custinfo">
<xs:sequence>
<xs:element ref="name"/>
</xs:sequence>
</xs:complexType>
<xs:element name="customer" type="custinfo" block="substitution"/>
<xs:element name="kunde" substitutionGroup="customer"/>
Which of the following is a valid XML document according to the schema above?

Answer

Correct Answer: <customer> <name>John Smith</name> </customer>

Explanation:

Note: This Question is unanswered, help us to find answer for this one

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it