Which of the following are the correct ways to define an empty complex element in an XML schema?
Correct Answer: <xs:element name="product"> <xs:complexType> <xs:complexContent> <xs:restriction base="xs:integer"> <xs:attribute name="prodid" type="xs:positiveInteger"/> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:element>
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More XML MCQ Questions